Fix seedfile dl
This commit is contained in:
@@ -560,15 +560,16 @@ fromSource() {
|
|||||||
|
|
||||||
# Grab the release seed config
|
# Grab the release seed config
|
||||||
if [[ -f "$SEED_FILE" ]]; then
|
if [[ -f "$SEED_FILE" ]]; then
|
||||||
echo "$SEED_FILE already exists"
|
if askOk "$SEED_FILE exists. Re-download?"; then
|
||||||
if askOk "Replace?"; then
|
|
||||||
if ! curl -so "$SEED_FILE" "$SEED_URL"; then
|
if ! curl -so "$SEED_FILE" "$SEED_URL"; then
|
||||||
echo "Could not obtain seed config"
|
echo "Could not obtain seed config"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
echo "Reusing existing $SEED_FILE"
|
echo "Reusing existing $SEED_FILE"
|
||||||
fi
|
fi
|
||||||
|
elif ! curl -so "$SEED_FILE" "$SEED_URL"; then
|
||||||
|
echo "Could not obtain seed config"
|
||||||
|
fi
|
||||||
|
|
||||||
# Override default .config seed with profile packages
|
# Override default .config seed with profile packages
|
||||||
for pkg in ${P_ARR[packages]:+${P_ARR[packages]}}; do
|
for pkg in ${P_ARR[packages]:+${P_ARR[packages]}}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user