diff options
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/maverick/kdebase/debian/kdm-trinity.postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ubuntu/maverick/kdebase/debian/kdm-trinity.postinst b/ubuntu/maverick/kdebase/debian/kdm-trinity.postinst index 65747f681..04c8a9af8 100644 --- a/ubuntu/maverick/kdebase/debian/kdm-trinity.postinst +++ b/ubuntu/maverick/kdebase/debian/kdm-trinity.postinst @@ -9,6 +9,10 @@ set -e # does not exist DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager +if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" ]; then + cp -Rp "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" "$DEFAULT_DISPLAY_MANAGER_FILE" +fi + if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then DEFAULT_DISPLAY_MANAGER=kdm-trinity if db_get shared/default-x-display-manager; then |