diff --git a/autoscripts/preinst-pycentral-clean b/autoscripts/preinst-pycentral-clean index a89a52180ea7e8f6753616eb4dac12c03e36613e..412602a039873afee957df094dc2e6d8dd86168e 100644 --- a/autoscripts/preinst-pycentral-clean +++ b/autoscripts/preinst-pycentral-clean @@ -1,5 +1,5 @@ # make sure python-central files are removed before new package is installed -if [ -f /var/lib/pycentral/#PACKAGE#.pkgremove ] || [ -f /var/lib/pycentral/pkgremove ] +if [ -f /var/lib/pycentral/#PACKAGE#.pkgremove ] then pycentral pkgremove #PACKAGE# rm -f /var/lib/pycentral/#PACKAGE#.pkgremove