Skip to content

Commit

Permalink
Fix cache dir not created
Browse files Browse the repository at this point in the history
  • Loading branch information
simoniz0r committed Mar 17, 2019
1 parent d552f08 commit 11ae5e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zyp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ if [[ $EUID -eq 0 ]]; then
echo "Do not run 'zyp' as root!"
exit 1
fi
# # check if zyp cache dir exists
# if [[ ! -d "$HOME/.cache/zyp" ]]; then
# mkdir -p "$HOME"/.cache/zyp
# fi
# check if zyp cache dir exists
if [[ ! -d "$HOME/.cache/zyp" ]]; then
mkdir -p "$HOME"/.cache/zyp
fi
# # check if zyp config dir exists
# if [[ ! -d "$HOME/.config/zyp" ]]; then
# # create config dir, config file, and then exit
Expand Down

0 comments on commit 11ae5e9

Please sign in to comment.