mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
core142: replace "pakfire remove"
i have cut and paste this from older core but its not working Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -104,7 +104,10 @@ for package in arm bitstream multicat check_mk_agent directfb \
|
||||
icecast icegenerator rtpproxy streamripper \
|
||||
cyrus-imapd; do
|
||||
if [ -e /opt/pakfire/db/installed/meta-$package ]; then
|
||||
pakfire remove -y $package
|
||||
stop_service $package
|
||||
for i in $(cat /opt/pakfire/db/rootfiles/$package); do
|
||||
rm -rfv /${i}
|
||||
done
|
||||
fi
|
||||
rm -f /opt/pakfire/db/installed/meta-$package
|
||||
rm -f /opt/pakfire/db/meta/meta-$package
|
||||
|
||||
Reference in New Issue
Block a user