diff --git a/copy_potd.sh b/copy_potd.sh index f228a83..3c66964 100755 --- a/copy_potd.sh +++ b/copy_potd.sh @@ -9,6 +9,9 @@ then echo "No POTD type specified." exit 1 fi +if [[ $TYPE == "unsplash" ]]; then + TYPE="unsplash:1065976" +fi ORIGINAL="${SOURCE}/${TYPE}" if [[ -e $ORIGINAL ]]; then FILENAME="${TYPE}_${TODAY}.jpg"