Skip to content

Commit

Permalink
Add launchpad uninstaller prerm and postrm
Browse files Browse the repository at this point in the history
  • Loading branch information
hientominh authored and hiento09 committed Aug 1, 2024
1 parent f1f8055 commit f44ce1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package-managers-template/launchpad/cortexso/debian/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
set -e

for userdir in /home/*; do
if [ -d "$userdir/cortex" ]; then
rm -rf "$userdir/cortex"
fi
done
4 changes: 4 additions & 0 deletions package-managers-template/launchpad/cortexso/debian/prerm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -e

/usr/bin/cortex stop

0 comments on commit f44ce1e

Please sign in to comment.