#!/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
