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 # make sure python-central files are removed before new package is installed
case "$1" in if [ "$1" = upgrade ] && [ -f /var/lib/pycentral/#PACKAGE#.pkgremove ]
install|upgrade) then
if [ -f /var/lib/pycentral/#PACKAGE#.pkgremove ] pycentral pkgremove #PACKAGE#
then rm -f /var/lib/pycentral/#PACKAGE#.pkgremove
pycentral pkgremove #PACKAGE# fi
rm -f /var/lib/pycentral/#PACKAGE#.pkgremove
fi
esac
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