Ports: Update uninstall function to use $SERENITY_ROOT

Now uninstalling should just work once we have plists in place.
This commit is contained in:
Larkin Nickle 2019-09-24 09:34:14 -04:00 committed by Andreas Kling
parent b08b2e116b
commit 8060749d04
Notes: sideshowbarker 2024-07-19 11:59:28 +09:00

View File

@ -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