Skip to content

Commit

Permalink
Add check for filebiner
Browse files Browse the repository at this point in the history
  • Loading branch information
simoniz0r committed Nov 24, 2018
1 parent 1b4ca71 commit ef74613
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yadshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ else
export ICON_PATH="gtk-fullscreen"
fi
# check for dependencies
if [ ! -f "$RUNNING_DIR/filebiner" ]; then
MISSING_DEPS="TRUE"
echo "$(tput setaf 1)filebiner is missing!$(tput sgr0)"
fi
if ! type curl >/dev/null 2>&1; then
MISSING_DEPS="TRUE"
echo "$(tput setaf 1)curl is not installed!$(tput sgr0)"
Expand Down

0 comments on commit ef74613

Please sign in to comment.