View Single Post
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#61
Originally Posted by Schturman View Post
This what was in %preun script:
Code:
%preun
if [ $1 = 0 ]; then
    // Do stuff specific to uninstalls
/usr/sbin/patchmanager -u sailfishos-shutdown-screen
else
if [ $1 = 1 ]; then
    // Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi
Ancelad already explained that problem maibe from the comments "//"...
Before I have posting something on openrepos I always testing it on my device and never had any problem with uninstallation....
Sorry for inconvenient...

Nodevel, Jalyst, thanks for your words...
^^ thats why i'm not surprised at all

shell script comments are # and not //
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post: