mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
Ports: Update uninstall function to use $SERENITY_ROOT
Now uninstalling should just work once we have plists in place.
This commit is contained in:
parent
b08b2e116b
commit
8060749d04
1 changed files with 2 additions and 2 deletions
|
@ -127,10 +127,10 @@ uninstall() {
|
|||
for f in `cat plist`; do
|
||||
case $f in
|
||||
*/)
|
||||
run rmdir "$prefix"/$f || true
|
||||
run rmdir "$SERENITY_ROOT/Root/$f" || true
|
||||
;;
|
||||
*)
|
||||
run rm -rf "$prefix"/$f
|
||||
run rm -rf "$SERENITY_ROOT/Root/$f"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue