Or if you still work with my instruction for creating packages, maybe this one will be more easy for you. Code: Name: sailfishos-combo-show-dayofweek-startsunday Version: 0.1 Release: 2 Summary: Calendar combo patch Group: System/Tools Vendor: Schturman Distribution: SailfisfOS Packager: Schturman <schturman@hotmail.com> URL: www.dhrider.co.cc Requires: jolla-calendar >= 0.4.43-10.32.1, patchmanager License: GPL %description Calendar Start Week On Sunday and show day. %files /usr/share/patchmanager/patches/sailfishos-combo-show-dayofweek-startsunday/* %pre if [ $1 = 1 ]; then // Do stuff specific for first install echo "It's first time install" else if [ $1 = 2 ]; then // Do stuff specific to upgrades echo "It's just upgrade" /usr/sbin/patchmanager -u sailfishos-combo-show-dayofweek-startsunday fi fi %preun if [ $1 = 0 ]; then // Do stuff specific to uninstalls /usr/sbin/patchmanager -u sailfishos-combo-show-dayofweek-startsunday else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi %postun if [ $1 = 0 ]; then // Do stuff specific to uninstalls rm -rf /usr/share/patchmanager/patches/sailfishos-combo-show-dayofweek-startsunday killall jolla-calendar else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi %changelog * Fri Dec 26 2014 Builder <builder@...> 0.1 - Compatible with last system update (1.1.4.29).
Name: sailfishos-combo-show-dayofweek-startsunday Version: 0.1 Release: 2 Summary: Calendar combo patch Group: System/Tools Vendor: Schturman Distribution: SailfisfOS Packager: Schturman <schturman@hotmail.com> URL: www.dhrider.co.cc Requires: jolla-calendar >= 0.4.43-10.32.1, patchmanager License: GPL %description Calendar Start Week On Sunday and show day. %files /usr/share/patchmanager/patches/sailfishos-combo-show-dayofweek-startsunday/* %pre if [ $1 = 1 ]; then // Do stuff specific for first install echo "It's first time install" else if [ $1 = 2 ]; then // Do stuff specific to upgrades echo "It's just upgrade" /usr/sbin/patchmanager -u sailfishos-combo-show-dayofweek-startsunday fi fi %preun if [ $1 = 0 ]; then // Do stuff specific to uninstalls /usr/sbin/patchmanager -u sailfishos-combo-show-dayofweek-startsunday else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi %postun if [ $1 = 0 ]; then // Do stuff specific to uninstalls rm -rf /usr/share/patchmanager/patches/sailfishos-combo-show-dayofweek-startsunday killall jolla-calendar else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi %changelog * Fri Dec 26 2014 Builder <builder@...> 0.1 - Compatible with last system update (1.1.4.29).