summaryrefslogtreecommitdiffstats
path: root/tests/t-conffile-rename/pkg-conff-rename-1/DEBIAN/preinst
blob: 775093f7d7b68545d9e593c7a826e9c29f9f775c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
if dpkg-maintscript-helper supports mv_conffile; then
    dpkg-maintscript-helper mv_conffile /test-conffile-old /test-conffile-new 0 -- "$@"
fi

if [ -e "$DPKG_ROOT/fail-preinst" ]; then
    exit 1
fi