mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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
Notes:
sideshowbarker
2024-07-19 11:59:28 +09:00
Author: https://github.com/larb0b Commit: https://github.com/SerenityOS/serenity/commit/8060749d041 Pull-request: https://github.com/SerenityOS/serenity/pull/595
@ -127,10 +127,10 @@ uninstall() {
|
|||||||
for f in `cat plist`; do
|
for f in `cat plist`; do
|
||||||
case $f in
|
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
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user