File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 33set -Eeuo pipefail
44
55SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd) "
6- CONFIG_FILE_DIR =" $HOME /.config/ssl-remote-control/remote-control-config.env"
6+ CONFIG_ENV_FILE =" $HOME /.config/ssl-remote-control/remote-control-config.env"
77SRC_VERSION=${1:- }
88
99function updateSystem() {
@@ -15,11 +15,12 @@ function installService() {
1515 mkdir -p ~ /.local/share/systemd/user/
1616 cp " $SCRIPT_DIR /ssl-remote-control.service" ~ /.local/share/systemd/user/ssl-remote-control.service
1717 systemctl --user enable ssl-remote-control.service
18- if [[ ! -f " ${CONFIG_FILE_DIR} " ]]; then
19- echo " Copying remote control configuration file to ${CONFIG_FILE_DIR} "
20- cp " ${SCRIPT_DIR} /remote-control-config.env" " ${CONFIG_FILE_DIR} "
18+ if [[ ! -f " ${CONFIG_ENV_FILE} " ]]; then
19+ mkdir -p " ${CONFIG_ENV_FILE} "
20+ echo " Copying remote control configuration file to ${CONFIG_ENV_FILE} "
21+ cp " ${SCRIPT_DIR} /remote-control-config.env" " ${CONFIG_ENV_FILE} "
2122 else
22- echo " Found remote control configuration file at ${CONFIG_FILE_DIR } skipping"
23+ echo " Found remote control configuration file at ${CONFIG_ENV_FILE } skipping"
2324 fi
2425}
2526
You can’t perform that action at this time.
0 commit comments