summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-02 20:58:15 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-02 20:58:15 +0100
commit43bb00b2b0047d46c4345e217ac18449357631c5 (patch)
tree6dc82d39ecf10433ca1625918c2a4d3711b035ca
parent3285e400f542380d86852a71acf9986ad45e8cfe (diff)
downloadtaler-mdb-43bb00b2b0047d46c4345e217ac18449357631c5.tar.gz
taler-mdb-43bb00b2b0047d46c4345e217ac18449357631c5.tar.bz2
taler-mdb-43bb00b2b0047d46c4345e217ac18449357631c5.zip
clean up package
-rw-r--r--debian/taler-mdb.postrm34
1 files changed, 5 insertions, 29 deletions
diff --git a/debian/taler-mdb.postrm b/debian/taler-mdb.postrm
index 2564dff..5867770 100644
--- a/debian/taler-mdb.postrm
+++ b/debian/taler-mdb.postrm
@@ -2,37 +2,13 @@
set -e
-pathfind() {
- OLDIFS="$IFS"
- IFS=:
- for p in $PATH; do
- if [ -x "$p/$*" ]; then
- IFS="$OLDIFS"
- return 0
- fi
- done
- IFS="$OLDIFS"
- return 1
-}
-
case "${1}" in
- purge)
- if [ -e /usr/share/debconf/confmodule ]
- then
- . /usr/share/debconf/confmodule
- db_version 2.0
- else
- fi
- ;;
-
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
- ;;
-
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
*)
- echo "postrm called with unknown argument \`${1}'" >&2
- exit 1
- ;;
+ echo "postrm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
esac
#DEBHELPER#