Lines 30-36
Link Here
|
30 |
fi |
30 |
fi |
31 |
|
31 |
|
32 |
# In case no config directory option passed use default |
32 |
# In case no config directory option passed use default |
33 |
if ! $(echo ${TRANSMISSION_OPTIONS} | grep -q -e ' -g' -e ' --config-dir'); then |
33 |
if ! $(echo ${TRANSMISSION_OPTIONS} | grep -q -e '\B-g' -e '\B--config-dir'); then |
34 |
TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --config-dir ${config_dir}" |
34 |
TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --config-dir ${config_dir}" |
35 |
# put download dir location on first run (and take it from config later) |
35 |
# put download dir location on first run (and take it from config later) |
36 |
if [ ! -f ${config_dir}/settings.json ]; then |
36 |
if [ ! -f ${config_dir}/settings.json ]; then |