mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 15:09:40 +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
|
@ -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…
Reference in a new issue