diff options
Diffstat (limited to 'packages/debian/preinst')
-rw-r--r-- | packages/debian/preinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/debian/preinst b/packages/debian/preinst new file mode 100644 index 00000000..0cb00df1 --- /dev/null +++ b/packages/debian/preinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e +if [ install = "$1" ]; then + dpkg-divert --quiet --package alpine --add --rename \ + --divert /usr/bin/clone-editor-moved /usr/bin/pico + dpkg-divert --quiet --package alpine --add --rename \ + --divert /usr/share/man/man1/clone-editor-moved.1.gz \ + /usr/share/man/man1/pico.1.gz +fi |