diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-05-18 05:56:33 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-05-18 05:56:33 +0200 |
commit | d18ec281cdcf2851180de54620206f394fda255e (patch) | |
tree | 323a5773652937eef705869e5bf29136cce72fa1 /debian/kanotix-plasma-script.postrm | |
parent | e42c2f330d1a997433323977734a26d3ab99f755 (diff) | |
download | etcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.zip etcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.tar.gz |
import changes from debian package version 2.0.0
Diffstat (limited to 'debian/kanotix-plasma-script.postrm')
-rw-r--r-- | debian/kanotix-plasma-script.postrm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/kanotix-plasma-script.postrm b/debian/kanotix-plasma-script.postrm new file mode 100644 index 0000000..15dedd2 --- /dev/null +++ b/debian/kanotix-plasma-script.postrm @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +remove_divert() { + diverter=$(dpkg-divert --listpackage $1) + if [ "$diverter" = "kanotix-plasma-script" ]; then + dpkg-divert --package kanotix-plasma-script --rename --remove $1 + fi +} + +if [ "$1" = remove ] || [ "$1" = deconfigure ]; then + remove_divert /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js +fi |