Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
trashy
Trashy
Commits
869a99ce
Commit
869a99ce
authored
Jun 08, 2011
by
Klaatu von Schlacker
Browse files
corrected the if statement checking for pre existance of .trash dir
parent
b2f33e99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
trash
trash
+2
-2
No files found.
trash
View file @
869a99ce
...
...
@@ -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"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment