Appling code formating
This commit is contained in:
10
piwisync.sh
10
piwisync.sh
@@ -4,9 +4,9 @@ myyear=$(date "+%Y")
|
||||
|
||||
if [ "$1" != "" ]
|
||||
then
|
||||
myyear=$1
|
||||
#echo Error subdir parameter missing
|
||||
#exit 1;
|
||||
myyear=$1
|
||||
#echo Error subdir parameter missing
|
||||
#exit 1;
|
||||
fi
|
||||
|
||||
subDir="$myyear/"
|
||||
@@ -15,8 +15,8 @@ networkPhotoRoot="/home/network/Qbilder/photos/${subDir}"
|
||||
|
||||
if [ ! -e ${networkPhotoRoot} ]
|
||||
then
|
||||
echo "${networkPhotoRoot} not found"
|
||||
exit 1;
|
||||
echo "${networkPhotoRoot} not found"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
/root/script/piwigo_thumbgen.sh "${networkPhotoRoot}" "${piwigoThumbRoot}"
|
||||
|
Reference in New Issue
Block a user