added mkdir to for screenshot
This commit is contained in:
parent
0ff7f0cdbc
commit
452d53614f
@ -8,6 +8,8 @@ SCREENSHOT_DIR="$HOME/pictures/screenshots"
|
|||||||
|
|
||||||
screenshotFile=$($SCRIPTPATH/take-screenshot.sh)
|
screenshotFile=$($SCRIPTPATH/take-screenshot.sh)
|
||||||
|
|
||||||
|
mkdir -p "$SCREENSHOT_DIR"
|
||||||
|
|
||||||
mv "$screenshotFile" "$SCREENSHOT_DIR"
|
mv "$screenshotFile" "$SCREENSHOT_DIR"
|
||||||
rm -rf "$(dirname $screenshotFile)"
|
rm -rf "$(dirname $screenshotFile)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user