Format shell scripts and set permissions

This commit is contained in:
Eric Nemchik
2023-03-02 19:18:53 +00:00
parent a614cef135
commit 826e0be29d
6 changed files with 57 additions and 46 deletions
@@ -1,8 +1,9 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [ ! -f /usr/sbin/cron ] && [ -f /usr/bin/apt ]; then
echo "**** Adding cron to package install list ****"
echo "cron" >> /mod-repo-packages-to-install.list
echo "cron" >>/mod-repo-packages-to-install.list
else
echo "**** cron package already installed, skipping ****"
fi