summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-05-07 14:41:38 +0200
committerSimon Rettberg2018-05-07 14:41:38 +0200
commitbf73c24dd1ece7a55796d5e8d3bf44e424b6a537 (patch)
tree04baad4e482c8bcaad03f199ab22a4dc0bfc16cb
parent[SSPS] Add http based timesync on bootup (diff)
downloadsetup-scripts-bf73c24dd1ece7a55796d5e8d3bf44e424b6a537.tar.gz
setup-scripts-bf73c24dd1ece7a55796d5e8d3bf44e424b6a537.tar.xz
setup-scripts-bf73c24dd1ece7a55796d5e8d3bf44e424b6a537.zip
[SSUS] Purge atftpd instead of just uninstalling
-rw-r--r--satellit_upgrader/updater.template.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 2a98f16..16d166b 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -442,7 +442,7 @@ if which "atftpd" &>/dev/null || dpkg-query -W -f='${db:Status-Abbrev}' "atftpd"
if diffcp "tftpd/tftpd-hpa" "/etc/default/tftpd-hpa"; then
echo "Replacing atftpd with tftpd-hpa"
systemctl stop atftpd.service
- failprint apt-get remove -y atftpd || pwarning "Could not uninstall atftpd"
+ failprint apt-get purge -y atftpd || pwarning "Could not uninstall atftpd"
failprint apt-get install -y tftpd-hpa || perror "Could not install tftpd-hpa"
chg=true
fi