Browse Source

changed /bin/bash to /usr/bin/env bash

pull/8/head
radikal 4 years ago
parent
commit
32b30edc2c
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      install.sh
  2. +1
    -1
      lch
  3. +1
    -1
      lib/check.sh
  4. +1
    -1
      lib/compressor.sh
  5. +1
    -1
      lib/decompressor.sh
  6. +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."


Loading…
Cancel
Save