#!/bin/sh set -e case "$1" in configure) # replaced by tmpfiles for path in /var/games/glhack /var/games/glhack/save /var/games/glhack/logfile /var/games/glhack/perm /var/games/glhack/record do if dpkg-statoverride --list $path > /dev/null ; then dpkg-statoverride --remove $path fi done ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # Automatically added by dh_installtmpfiles/13.31 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -x "$(command -v systemd-tmpfiles)" ]; then systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create glhack.conf || true fi fi # End automatically added section