Skip to content

Commit

Permalink
Inform and exit resizepfile.sh if savefolder is used
Browse files Browse the repository at this point in the history
  • Loading branch information
mavrothal committed Jun 2, 2014
1 parent d10aa62 commit 82ff595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions woof-code/rootfs-skeleton/usr/sbin/resizepfile.sh
Expand Up @@ -20,6 +20,9 @@ export OUTPUT_CHARSET=UTF-8
. /etc/rc.d/PUPSTATE
. /etc/DISTRO_SPECS #v412

SAVELOC=$(echo $PUPSAVE | cut -f3 -d ',')
[ -d /mnt/home$SAVELOC ] && /usr/lib/gtkdialog/box_ok "$(gettext 'Resize personal storage file')" info "<b>$(gettext "Puppy is currently using a savefolder. There is no need to resize it")</b>" " " && exit 0

#find out what modes use a ${DISTRO_FILE_PREFIX}save.2fs file...
CANDOIT="no"
case $PUPMODE in
Expand Down

0 comments on commit 82ff595

Please sign in to comment.