Skip to content

Commit

Permalink
fixed broken filepaths
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes authored and wolfy committed Mar 28, 2022
1 parent d7cd549 commit 1fb9aa5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions scripts/docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ for dir in $SUBDIRS ; do
done

# setup config files if not found
mkdir -p /etc/config
mkdir -p /etc/arm/config
CONFS="arm.yaml apprise.yaml .abcde.conf"
for conf in $CONFS; do
thisConf="/etc/config/${conf}"
thisConf="/etc/arm/config/${conf}"
if [[ ! -f "${thisConf}" ]] ; then
echo "creating config file ${thisConf}"
cp "/opt/arm/setup/${thisConf}" "/etc/config/${thisConf}"
cp "/opt/arm/setup/${thisConf}" "/etc/arm/config/${thisConf}"
fi
done
chown -R "${USER}:${USER}" /etc/config/
chown -R "${USER}:${USER}" /etc/arm/config/

[[ -h /dev/cdrom ]] || ln -sv /dev/sr0 /dev/cdrom

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/docker_arm_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function parse_yaml {
}
}'
}
eval $(parse_yaml /etc/arm/arm.yaml "CONFIG_")
eval $(parse_yaml /etc/arm/config/arm.yaml "CONFIG_")

#######################################################################################
# Log Discovered Type and Start Rip
Expand Down
8 changes: 4 additions & 4 deletions scripts/installers/ubuntu-20.04-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ function clone_arm() {

function setup_config_files() {
# setup config files if not found, DO NOT RESET DURING REINSTALL
mkdir -p /etc/config
mkdir -p /etc/arm/config
CONFS="arm.yaml apprise.yaml .abcde.conf"
for conf in $CONFS; do
thisConf="/etc/config/${conf}"
thisConf="/etc/arm/config/${conf}"
if [[ ! -f "${thisConf}" ]] ; then
echo "creating config file ${thisConf}"
cp "/opt/arm/setup/${thisConf}" "/etc/config/${thisConf}"
cp "/opt/arm/setup/${thisConf}" "/etc/arm/config/${thisConf}"
fi
done
chown -R "${USER}:${USER}" /etc/config/
chown -R "${USER}:${USER}" /etc/arm/config/
}

function install_arm_live_env() {
Expand Down

0 comments on commit 1fb9aa5

Please sign in to comment.