Fix code ; Added chmod to setup
This commit is contained in:
parent
aba78b8c4d
commit
8c65014654
3
setup.sh
3
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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue