Skip to content
Snippets Groups Projects
Commit 3d7f82e5 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

actually... invoke only when $1 = upgrade

parent 5279b2d8
No related branches found
No related tags found
No related merge requests found
# make sure python-central files are removed before new package is installed
case "$1" in
install|upgrade)
if [ -f /var/lib/pycentral/#PACKAGE#.pkgremove ]
then
pycentral pkgremove #PACKAGE#
rm -f /var/lib/pycentral/#PACKAGE#.pkgremove
fi
esac
if [ "$1" = upgrade ] && [ -f /var/lib/pycentral/#PACKAGE#.pkgremove ]
then
pycentral pkgremove #PACKAGE#
rm -f /var/lib/pycentral/#PACKAGE#.pkgremove
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment