[Debian-in-commits] [SCM] fonts-pagul.git branch, master, updated. upstream/1.0-33-gb7beb78
Vasudev Kamath
kamathvasudev at gmail.com
Thu Mar 7 17:53:27 UTC 2013
The following commit has been merged in the master branch:
commit 10d786192ddd2b0185396b40538b32d449faeff6
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date: Thu Mar 7 22:28:14 2013 +0530
preinst is not required dpkg should handle removal of old files
diff --git a/debian/preinst b/debian/preinst
deleted file mode 100644
index 7bf90bd..0000000
--- a/debian/preinst
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-# preinst script for #PACKAGE#
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- install|upgrade)
- if [ -f /usr/share/fonts/truetype/Pagul.ttf ]; then
- rm -rf /usr/share/fonts/truetype/Pagul.ttf
- fi
- if [ -f /etc/fonts/conf.avail/90-fonts-pagul.conf ]; then
- rm -rf /etc/fonts/conf.avail/90-fonts-pagul.conf
- fi
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
--
fonts-pagul.git
More information about the Debian-in-commits
mailing list