Skip to content

Commit

Permalink
Fixes upgrade check
Browse files Browse the repository at this point in the history
  • Loading branch information
christianTF committed Mar 6, 2018
1 parent 1275ba2 commit a0b35a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ if [ -e "$LBHOMEDIR/system/cron/cron.monthly/$2*" ]; then
UPGRADE=1
fi
if [ -e "$LBHOMEDIR/system/cron/cron.yearly/$2*" ]; then
echo "<WARNING> Deleting old yearly schedules"
echo "<WARNING> Deleting old yearly schedules ($LBHOMEDIR/system/cron/cron.yearly/$2*) "
rm -f $LBHOMEDIR/system/cron/cron.yearly/$2*
UPGRADE=1
fi

if [ -z "$UPGRADE" ]; then
if [ -n "$UPGRADE" ]; then
. $LBHOMEDIR/libs/bashlib/notify.sh
notify $3 Update "LoxBerry Backup changed the schedule system. Please reconfigure the schedules of your backups. No more automatic backups will be done otherwise." err
echo "<WARNING> LoxBerry Backup changed the schedule system. Please reconfigure the schedules of your backups. No more automatic backups will be done otherwise."
Expand Down

0 comments on commit a0b35a4

Please sign in to comment.