Ports: Simplify remove-port.sh

This commit is contained in:
apio 2022-10-26 22:00:31 +02:00
parent d875224045
commit 651ffe6d64

View File

@ -39,6 +39,6 @@ cd $installdir
port_uninstall | filter-lines $pkgname "uninstall"
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."