Remove dupe curl
This commit is contained in:
@@ -561,14 +561,15 @@ fromSource() {
|
|||||||
# Grab the release seed config
|
# Grab the release seed config
|
||||||
if [[ -f "$SEED_FILE" ]]; then
|
if [[ -f "$SEED_FILE" ]]; then
|
||||||
if askOk "$SEED_FILE exists. Re-download?"; then
|
if askOk "$SEED_FILE exists. Re-download?"; then
|
||||||
if ! curl -so "$SEED_FILE" "$SEED_URL"; then
|
rm -f "$SEED_FILE"
|
||||||
echo "Could not obtain seed config"
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
if [[ -f "$SEED_FILE" ]]; then
|
||||||
echo "Reusing existing $SEED_FILE"
|
echo "Reusing existing $SEED_FILE"
|
||||||
|
else
|
||||||
|
if ! curl -so "$SEED_FILE" "$SEED_URL"; then
|
||||||
|
echo "Could not obtain seed config"
|
||||||
fi
|
fi
|
||||||
elif ! curl -so "$SEED_FILE" "$SEED_URL"; then
|
|
||||||
echo "Could not obtain seed config"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Override default .config seed with profile packages
|
# Override default .config seed with profile packages
|
||||||
|
|||||||
Reference in New Issue
Block a user