This website works better with JavaScript.
Home
Explore
Help
Sign In
g
/
lch
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
17
Wiki
Activity
Browse Source
changed /bin/bash to /usr/bin/env bash
pull/8/head
radikal
4 years ago
parent
7c1fd864d7
commit
32b30edc2c
6 changed files
with
6 additions
and
6 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
install.sh
+1
-1
lch
+1
-1
lib/check.sh
+1
-1
lib/compressor.sh
+1
-1
lib/decompressor.sh
+1
-1
uninstall.sh
+ 1
- 1
install.sh
View File
@ -1,4 +1,4 @@
#!/bin/bash
#!/
usr/
bin/
env
bash
if
[
"
$UID
"
!
=
"0"
]
;
then
if
[
"
$UID
"
!
=
"0"
]
;
then
echo
" Only root can execute this script, sorry."
echo
" Only root can execute this script, sorry."
+ 1
- 1
lch
View File
@ -1,4 +1,4 @@
#!/bin/bash
#!/
usr/
bin/
env
bash
VERSION=0.4r8
VERSION=0.4r8
DEST=$1
DEST=$1
shift 1
shift 1
+ 1
- 1
lib/check.sh
View File
@ -1,4 +1,4 @@
#!/bin/bash
#!/
usr/
bin/
env
bash
function
check
(
)
function
check
(
)
{
{
local
a
=
false
local
a
=
false
+ 1
- 1
lib/compressor.sh
View File
@ -1,4 +1,4 @@
#!/bin/bash
#!/
usr/
bin/
env
bash
function
lowercase
(
)
function
lowercase
(
)
{
{
echo
"
$DEST
"
|
tr
'A-Z'
'a-z'
echo
"
$DEST
"
|
tr
'A-Z'
'a-z'
+ 1
- 1
lib/decompressor.sh
View File
@ -1,4 +1,4 @@
#!/bin/bash
#!/
usr/
bin/
env
bash
function
lowercase
(
)
function
lowercase
(
)
{
{
echo
"
$DEST
"
|
tr
'A-Z'
'a-z'
echo
"
$DEST
"
|
tr
'A-Z'
'a-z'
+ 1
- 1
uninstall.sh
View File
@ -1,4 +1,4 @@
#!/bin/bash
#!/
usr/
bin/
env
bash
if
[
"
$UID
"
!
=
"0"
]
;
then
if
[
"
$UID
"
!
=
"0"
]
;
then
echo
" Only root can execute this script, sorry."
echo
" Only root can execute this script, sorry."
Write
Preview
Loading…
Cancel
Save