summaryrefslogtreecommitdiff
path: root/kde-unstable/kdebase-workspace/kdebase-workspace.install
diff options
context:
space:
mode:
Diffstat (limited to 'kde-unstable/kdebase-workspace/kdebase-workspace.install')
-rw-r--r--kde-unstable/kdebase-workspace/kdebase-workspace.install31
1 files changed, 0 insertions, 31 deletions
diff --git a/kde-unstable/kdebase-workspace/kdebase-workspace.install b/kde-unstable/kdebase-workspace/kdebase-workspace.install
deleted file mode 100644
index c52c06417..000000000
--- a/kde-unstable/kdebase-workspace/kdebase-workspace.install
+++ /dev/null
@@ -1,31 +0,0 @@
-post_install() {
- groupadd -g 135 kdm &>/dev/null
- useradd -u 135 -g kdm -d /var/lib/kdm -s /bin/false -r -M kdm &>/dev/null
- 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() {
- getent group kdm >/dev/null 2>&1 || groupadd -g 135 kdm &>/dev/null
- getent passwd kdm >/dev/null 2>&1 || useradd -u 135 -g kdm -d /var/lib/kdm -s /bin/false -r -M kdm &>/dev/null
- 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() {
- if getent passwd kdm >/dev/null 2>&1; then
- userdel kdm
- fi
- if getent group kdm >/dev/null 2>&1; then
- 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
-}