Fix seedfile dl

This commit is contained in:
2023-01-14 13:18:36 -05:00
parent 3143e5b452
commit 6d65d2c7a6

View File

@@ -560,14 +560,15 @@ fromSource() {
# Grab the release seed config
if [[ -f "$SEED_FILE" ]]; then
echo "$SEED_FILE already exists"
if askOk "Replace?"; then
if askOk "$SEED_FILE exists. Re-download?"; then
if ! curl -so "$SEED_FILE" "$SEED_URL"; then
echo "Could not obtain seed config"
fi
else
echo "Reusing existing $SEED_FILE"
fi
else
echo "Reusing existing $SEED_FILE"
elif ! curl -so "$SEED_FILE" "$SEED_URL"; then
echo "Could not obtain seed config"
fi
# Override default .config seed with profile packages