diff --git a/install b/install index d937b9d..2786ccd 100755 --- a/install +++ b/install @@ -13,7 +13,7 @@ # https://github.com/armbian/config/blob/master/debian-software # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # -# version: 1.2.13 +# version: 1.2.14 # if [[ $(id -u) -ne 0 ]]; then @@ -106,10 +106,6 @@ if [ ${ipv6} -ne 1 ]; then echo 'Acquire::ForceIPv4 "true";' > ${forceIpv4} fi -# remove vscode repo if found since there is no desktop environment -if [ -f "${vsCodeList}" ]; then - rm "${vsCodeList}" -fi echo "Updating repos before installing..." apt-get update @@ -168,6 +164,10 @@ if grep -q raspberrypi.org /etc/apt/sources.list.d/*; then done echo "Installing monit from raspberrypi repo..." apt-get --yes --no-install-recommends install -t ${codename} monit + + # remove vscode repo if found since there is no desktop environment + # empty file will exist to keep raspberrypi-sys-mods package from adding it back + truncate -s 0 "${vsCodeList}" fi echo "Install prerequisites..."