Ports: Simplify remove-port.sh
This commit is contained in:
parent
d875224045
commit
651ffe6d64
@ -39,6 +39,6 @@ cd $installdir
|
|||||||
port_uninstall | filter-lines $pkgname "uninstall"
|
port_uninstall | filter-lines $pkgname "uninstall"
|
||||||
|
|
||||||
rm -rf $workdir
|
rm -rf $workdir
|
||||||
cat $listdir/ports.list | sort | uniq | grep -v $pkgname | tee $listdir/ports.list >/dev/null
|
cat $listdir/ports.list | grep -v $pkgname | tee $listdir/ports.list >/dev/null
|
||||||
|
|
||||||
echo "Success! Removed port: $pkgname version $pkgver."
|
echo "Success! Removed port: $pkgname version $pkgver."
|
Loading…
Reference in New Issue
Block a user