remove plasma-pk-updates from live environment

Should fix blocker bug https://bugzilla.redhat.com/show_bug.cgi?id=1436873 (Previous code here did not work.)
This commit is contained in:
mattdm 2017-06-30 15:30:09 +00:00 committed by Adam Williamson
parent a96164bc8b
commit 021225b76d
1 changed files with 3 additions and 5 deletions

View File

@ -55,11 +55,9 @@ cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
Driver=QSQLITE3
AKONADI_EOF
# Disable plasma-pk-updates
sed -i \
-e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \
/usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/metadata.desktop \
/usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop
# Disable plasma-pk-updates (bz #1436873 and 1206760)
echo "Removing plasma-pk-updates package."
rpm -e plasma-pk-updates
# Disable baloo
cat > /home/liveuser/.config/baloofilerc << BALOO_EOF