Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
649fc386
Commit
649fc386
authored
Jan 23, 2016
by
neil
Browse files
minor: fix install message.
parent
9a66cdb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
649fc386
...
...
@@ -934,7 +934,7 @@ install() {
#try install to /bin if is root
if
[
!
-f
/usr/local/bin/le.sh
]
;
then
#if root
if
$SUDO
cp
le.sh /usr/local/bin/le.sh
;
then
if
$SUDO
cp
le.sh /usr/local/bin/le.sh
2>&1
>
/dev/null
;
then
$SUDO
chmod
755 /usr/local/bin/le.sh
$SUDO
ln
-s
"/usr/local/bin/le.sh"
/usr/local/bin/le
rm
-f
$WORKING_DIR
/le.sh
...
...
@@ -944,7 +944,7 @@ install() {
#install to home, for non root user
cp
le.sh
$WORKING_DIR
/
chmod
+x
$WORKING_DIR
/le.sh
_info
"Installed to
$WORKING_DIR
/le"
_info
"Installed to
$WORKING_DIR
/le
.sh
"
fi
fi
rm
-f
$WORKING_DIR
/le
...
...
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