Skip to content

Commit

Permalink
fix[entry.sh]: Corrected chown syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sidey79 authored Dec 1, 2024
1 parent 3fbae7b commit 881d430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fi
touch ${ALEXAFHEM_DIR}/.ssh/known_hosts
cat ${ALEXAFHEM_DIR}/.ssh/known_hosts /ssh_known_hosts.txt | grep -v ^# | sort -u -k2,3 > ${ALEXAFHEM_DIR}/.ssh/known_hosts.tmp
mv -f ${ALEXAFHEM_DIR}/.ssh/known_hosts.tmp ${ALEXAFHEM_DIR}/.ssh/known_hosts
chown -R alexa-fhem.alexa-fhem ${ALEXAFHEM_DIR}/.ssh/
chown -R alexa-fhem:alexa-fhem ${ALEXAFHEM_DIR}/.ssh/

if [[ ! -L /alexa-fhem/.alexa/config.json && -f /alexa-fhem/.alexa/config.json && ! -e /alexa-fhem/config.json ]]; then
echo " - Moving configuration from /alexa-fhem/.alexa/config.json to /alexa-fhem/config.json ..."
Expand Down

0 comments on commit 881d430

Please sign in to comment.