Skip to content

Commit

Permalink
BUGFIX. Bad detection of home directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardofilo committed Aug 12, 2020
1 parent ad2f344 commit 36f35f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
. /etc/profile

# Creating home directory for config
if [ ! -f /media/data/local/home/.py_backup ] ; then
if [ ! -d /media/data/local/home/.py_backup ] ; then
mkdir /media/data/local/home/.py_backup
cp config.ini /media/data/local/home/.py_backup
fi
Expand Down

0 comments on commit 36f35f7

Please sign in to comment.