[fix] Don't rename /nsm/docker-registry

This commit is contained in:
William Wernert
2020-11-18 14:01:33 -05:00
parent 280cde43ff
commit e65c53dbb1

View File

@@ -1405,7 +1405,7 @@ reinstall_init() {
# Backup /nsm for the same reason
while IFS= read -r -d '' dir; do
mv "$dir" "${dir}_old_${date_string}"
done < <(find /nsm -maxdepth 1 -mindepth 1 -type d -print0)
done < <(find /nsm -maxdepth 1 -mindepth 1 -type d -not -path "/nsm/docker-registry" -print0)
# Remove the old launcher package in case the config changes
remove_package launcher-final