diff --git a/setup.sh b/setup.sh index 52128bf..738b6b9 100644 --- a/setup.sh +++ b/setup.sh @@ -87,8 +87,9 @@ echo -ne " Owner $setup_user:" sudo chown "$setup_user":"$setup_user" "$set_bin_uri" \ && cmd_res="$?" \ && filebox__check_err +sudo chmod 755 "$set_bin_uri" -echo -e "\n# Thank you for installing filebox. Have fun" +echo -e "\n# Thank you for installing filebox. Have fun !" } # PWD is Not a repo diff --git a/usr/local/bin/filebox b/usr/local/bin/filebox index e963c65..7bfd2eb 100755 --- a/usr/local/bin/filebox +++ b/usr/local/bin/filebox @@ -1,12 +1,12 @@ #!/bin/bash -# version: 0.1.2 +# version: 0.1.3 # file: filebox # Folder: /usr/local/bin # By echolib # License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 #====================================================================== -# Tool +# Tools #====================================================================== # Check needed file and source if asked if__file() { @@ -59,7 +59,7 @@ esac # Check Command if__command() { ! [[ `command -v $1` ]] \ - && echo -e "$I_Red Missing $1 commnd" \ + && echo -e "$I_Red Missing $1 command" \ && exit 1 } diff --git a/var/lib/filebox/scripts/tools b/var/lib/filebox/scripts/tools index c73f500..0ea0ddd 100644 --- a/var/lib/filebox/scripts/tools +++ b/var/lib/filebox/scripts/tools @@ -1,10 +1,10 @@ #!/bin/bash # file: tools -# Folder: /var/lib/seedbox/scripts +# Folder: /var/lib/filebox/scripts # By echolib # License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 -# Tools for seedbox script +# Tools for filebox script #====================================================================== # Set Colors diff --git a/var/lib/filebox/setup.sh b/var/lib/filebox/setup.sh index 52128bf..738b6b9 100644 --- a/var/lib/filebox/setup.sh +++ b/var/lib/filebox/setup.sh @@ -87,8 +87,9 @@ echo -ne " Owner $setup_user:" sudo chown "$setup_user":"$setup_user" "$set_bin_uri" \ && cmd_res="$?" \ && filebox__check_err +sudo chmod 755 "$set_bin_uri" -echo -e "\n# Thank you for installing filebox. Have fun" +echo -e "\n# Thank you for installing filebox. Have fun !" } # PWD is Not a repo