Commit 869a99ce authored by Klaatu von Schlacker's avatar Klaatu von Schlacker
Browse files

corrected the if statement checking for pre existance of .trash dir

parent b2f33e99
......@@ -2,8 +2,8 @@
ARG="$@"
CHECK=$(ls -a ~ | grep -i .trash)
if [ ! -d "~/.trash" ]
then mkdir -m 700 ~/.trash 2> /dev/null
if [ ! -d " " ]
then mkdir -m 700 ~/.trash
fi
if [ "X$ARG" == "X.trash" ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment