Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 8efda56

Browse files
authored
Add launchpad uninstaller prerm and postrm (#957)
Co-authored-by: Hien To <tominhhien97@gmail.com>
1 parent 9f48d1d commit 8efda56

File tree

2 files changed

+16
-0
lines changed
  • package-managers-template/launchpad/cortexso/debian

2 files changed

+16
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
set +e
3+
4+
for userdir in /home/*; do
5+
if [ -d "$userdir/cortex" ]; then
6+
rm -rf "$userdir/cortex" > /dev/null 2>&1
7+
fi
8+
done
9+
10+
exit 0
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
set +e
3+
4+
/usr/bin/cortex stop > /dev/null 2>&1
5+
6+
exit 0

0 commit comments

Comments
 (0)