Commit 3cb8df10 authored by Klaatu von Schlacker's avatar Klaatu von Schlacker
Browse files

Mark Katerberg made .trash 700 perm and reduced non bash calls with native -d

parent c7e203d2
......@@ -2,8 +2,8 @@
ARG="$@"
CHECK=$(ls -a ~ | grep -i .trash)
if [ "X$CHECK" == "X" ]
then mkdir ~/.trash
if [ ! -d "~/.trash" ]
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