Debian packaging: force update of the control panel screenshot
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 1 Mar 2010 09:41:20 +0000 (10:41 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 1 Mar 2010 09:41:20 +0000 (10:41 +0100)
During postinst and postrm. Also run update-sudoers in postrm again, to
remove the led-pattern-helper entry.

debian/led-pattern-editor.postinst
debian/led-pattern-editor.postrm [new file with mode: 0644]

index c5d9a27..af248e7 100644 (file)
@@ -1,4 +1,4 @@
 #!/bin/sh
 update-sudoers
 [ -e /etc/mce/mce.ini.orig ] || cp /etc/mce/mce.ini /etc/mce/mce.ini.orig
-
+rm -f /home/user/.cache/launch/com.nokia.controlpanel.pvr
diff --git a/debian/led-pattern-editor.postrm b/debian/led-pattern-editor.postrm
new file mode 100644 (file)
index 0000000..aa6489f
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+update-sudoers
+rm -f /home/user/.cache/launch/com.nokia.controlpanel.pvr