summaryrefslogtreecommitdiff
path: root/extra/kdebase-workspace/kdebase-workspace.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdebase-workspace/kdebase-workspace.install')
-rw-r--r--extra/kdebase-workspace/kdebase-workspace.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/kdebase-workspace/kdebase-workspace.install b/extra/kdebase-workspace/kdebase-workspace.install
index f7d6d305b..c52c06417 100644
--- a/extra/kdebase-workspace/kdebase-workspace.install
+++ b/extra/kdebase-workspace/kdebase-workspace.install
@@ -4,6 +4,7 @@ post_install() {
chown -R 135:135 var/lib/kdm &>/dev/null
xdg-icon-resource forceupdate --theme hicolor &>/dev/null
update-desktop-database -q
+ genkdmconf --no-old --no-backup &>/dev/null
}
post_upgrade() {
@@ -12,6 +13,7 @@ post_upgrade() {
chown -R 135:135 var/lib/kdm &>/dev/null
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
+ genkdmconf &>/dev/null
}
post_remove() {
@@ -22,4 +24,8 @@ post_remove() {
groupdel kdm
fi
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+
+ if [ -d usr/share/apps/kdm/faces ]; then
+ rm -r usr/share/apps/kdm/faces
+ fi
}