Revert "Core Update 172: Remove powertop add-on, if installed"

This reverts commit d3a4fcc709.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-12-06 10:07:19 +00:00
parent 7a22b050fa
commit e9062718d1

View File

@@ -129,8 +129,8 @@ rm -rvf \
/usr/libexec/ipsec/scepclient \
/var/ipfire/ca/dh1024.pem
# Remove gnu-netcat and powertop add-on, if installed
for addon in gnu-netcat powertop; do
# Remove gnu-netcat add-on, if installed
for addon in gnu-netcat; do
if [ -e "/opt/pakfire/db/installed/meta-${addon}" ]; then
for i in $(</opt/pakfire/db/rootfiles/${addon}); do
rm -rfv "/${i}"