From 8060749d0414c9f613d7b85d8fbd2adbc4907bbe Mon Sep 17 00:00:00 2001 From: Larkin Nickle Date: Tue, 24 Sep 2019 09:34:14 -0400 Subject: [PATCH] Ports: Update uninstall function to use $SERENITY_ROOT Now uninstalling should just work once we have plists in place. --- Ports/.port_include.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index 2d03610a76..07ed859212 100755 --- a/Ports/.port_include.sh +++ b/Ports/.port_include.sh @@ -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