Skip to content

Commit

Permalink
set default volume
Browse files Browse the repository at this point in the history
useful when using `synopkg install`
  • Loading branch information
publicarray committed Aug 9, 2021
1 parent b509b4f commit 7b42468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spk/transmission/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ service_postinst ()
{
if [ "${SYNOPKG_PKG_STATUS}" == "INSTALL" ]; then
# Edit the configuration according to the wizard
sed -i -e "s|@download_dir@|${wizard_volume}/${wizard_download_dir:=/downloads}|g" ${CFG_FILE}
sed -i -e "s|@download_dir@|${wizard_volume:=/volume1}/${wizard_download_dir:=/downloads}|g" ${CFG_FILE}
sed -i -e "s|@username@|${wizard_username:=admin}|g" ${CFG_FILE}
sed -i -e "s|@password@|${wizard_password:=admin}|g" ${CFG_FILE}
if [ -d "${wizard_watch_dir}" ]; then
Expand Down

0 comments on commit 7b42468

Please sign in to comment.