From a5bc6762f12c250f5d8cb4a870c029c1403725ef Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 8 Nov 2014 06:25:20 +0100 Subject: [PATCH] debian: Remove outdated / deprecated [postinst|postrm|prerm] files. --- debian/postinst | 23 ----------------------- debian/postrm | 10 ---------- debian/prerm | 9 --------- 3 files changed, 42 deletions(-) delete mode 100755 debian/postinst delete mode 100755 debian/postrm delete mode 100755 debian/prerm diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index dec4dff4..00000000 --- a/debian/postinst +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -e - -if [ "$1" = "upgrade" ] ; then - if ps -C wineserver > /dev/null && test -d /var/lib/update-notifier/user.d/ ; then - cp -f /usr/share/wine/wineserver-restart-required.update-notifier /var/lib/update-notifier/user.d/wineserver-restart-required - fi -fi - -service procps start || /etc/init.d/procps restart - -# Automatically added by dh_installmime -if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then - update-mime -fi -# End automatically added section -# Automatically added by dh_makeshlibs -if [ "$1" = "configure" ]; then - ldconfig -fi -# End automatically added section - - - diff --git a/debian/postrm b/debian/postrm deleted file mode 100755 index b8797812..00000000 --- a/debian/postrm +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -set -e -# Automatically added by dh_installmime -if which update-mime >/dev/null 2>&1; then update-mime; fi -# End automatically added section -# Automatically added by dh_makeshlibs -if [ "$1" = "remove" ]; then - ldconfig -fi -# End automatically added section diff --git a/debian/prerm b/debian/prerm deleted file mode 100755 index e99d1315..00000000 --- a/debian/prerm +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -e - -if [ "$1" = "remove" ] ; then - if [ -x /usr/sbin/update-binfmts ]; then - /usr/sbin/update-binfmts --package wine --remove wine /usr/bin/wine || true - fi -fi - -