summary refs log tree commit diff
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-12 14:07:05 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-12 14:07:05 -0700
commit0d9d091286ecf7ca82a8b379690e48f66c09561c (patch)
treeffaa28e47515a2b75766b7a83d7a5ed5863b7023
parent2eab7f41a5f303ad8b62f9a8ceaa8201675adc94 (diff)
MOD: fix the fixup
-rwxr-xr-xmp.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp.sh b/mp.sh index 342b4a7..b6cf388 100755 --- a/mp.sh +++ b/mp.sh
@@ -112,13 +112,13 @@ mp_cln() {
112 if [ -z "$1" ]; then 112 if [ -z "$1" ]; then
113 die "pkg name required." 113 die "pkg name required."
114 fi 114 fi
115 if [ ! -d "$WD/$1 ]; then 115 if [ ! -d "$WD/$1" ]; then
116 die "pkg wd not found." 116 die "pkg wd not found."
117 fi 117 fi
118 118
119 sed -i "/^$pkg_name$/d" $INSTALLED" || die "failed writing to $INSTALLED."
120 sed -i "/^$pkg_name-$pkg_ver (/d" "EXTINSTALLED" || die "faiiled writing to $EXTINSTALLED."
121 rm -rf "$WD/$1" || die "failed removing $WD/$1." 119 rm -rf "$WD/$1" || die "failed removing $WD/$1."
120
121 ok "$1 cleaned."
122} 122}
123mp_upd() { 123mp_upd() {
124 cd "$PORTS_DIR" || die "missing $PORTS_DIR." 124 cd "$PORTS_DIR" || die "missing $PORTS_DIR."