Browse Source

change custom confdir

pull/9/head
Gorgone 6 years ago
committed by GitHub
parent
commit
1200987e81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      support/functions/_cmd_build

9
support/functions/_cmd_build

@ -96,12 +96,11 @@ _cmd_build(){
done;
#change default oscam CONF_DIR
if [ ! "$_oscamconfdir_custom" == "not_set" ] && [ ${#_oscamconfdir_custom} -gt 3 ]; then
[ ! "$CUSTOM_CONFDIR" == "not_set" ] && _oscamconfdir_custom=$CUSTOM_CONFDIR;
CONFDIR="$_oscamconfdir_custom";
echo -e $w_l" | set : "$r_l"custom CONF_DIR=$CONFDIR"$w_l;
if [ ! "$CUSTOM_CONFDIR" == "not_set" ]; then
CONFDIR="$CUSTOM_CONFDIR";
echo -e $w_l" | set : "$r_l"custom CONF_DIR=$CONFDIR"$w_l;
else
CONFDIR="$_oscamconfdir_default";
CONFDIR="$_oscamconfdir_default";
fi;
#patching

Loading…
Cancel
Save