bcb01fdce341e135585f1dcfa5e0811515914b7d
[grml-scripts-core.git] / debian / postinst
1 #!/bin/sh
2 # Filename:      postinst
3 # Purpose:       postinst script for package grml-scripts
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 # Latest change: Son Okt 28 17:37:25 CET 2007 [mika]
8 ################################################################################
9
10 set -e
11
12 case "$1" in
13    configure)
14
15      [ -f /bin/egrep.dpkg-bak ] && mv /bin/egrep.dpkg-bak /bin/egrep
16      [ -f /bin/egrep.old      ] && rm /bin/egrep.old
17      [ -f /bin/fgrep.dpkg-bak ] && mv /bin/fgrep.dpkg-bak /bin/fgrep
18      [ -f /bin/fgrep.old      ] && rm /bin/fgrep.old
19
20      ;;
21
22    *)
23      exit 0
24 esac
25
26 exit 0
27
28 ## END OF FILE #################################################################