diff options
author | ist <ist@istnightly3> | 2015-04-21 15:24:12 +0200 |
---|---|---|
committer | ist <ist@istnightly3> | 2015-04-21 15:24:12 +0200 |
commit | 32fbed2a84f2653b5e807e067ce60d3a33e3b78a (patch) | |
tree | 70c0b3e1f580c555715ef9630b84f59a50976869 /base-install | |
parent | b99386d0e12a43ac5ecdadf3d9423895c42cf3f2 (diff) |
Download redland key with curl
Diffstat (limited to 'base-install')
-rwxr-xr-x | base-install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base-install b/base-install index 2882dcc..2764d42 100755 --- a/base-install +++ b/base-install @@ -20,7 +20,9 @@ echo "Base Packages:" echo echo "Updating index..." -cmd="$WGET -O redland_key.asc $REDLAND_APT_KEY >/dev/null 2>&1" && run_cmd "$cmd" "Download redland apt-key" +sudo $APT_GET install curl +check_utils "curl" +cmd="$CURL $REDLAND_APT_KEY > redland_key.asc >/dev/null 2>&1" && run_cmd "$cmd" "Download redland apt-key" cmd="sudo $APT_KEY add redland_key.asc >/dev/null 2>&1; rm redland_key.asc" && run_cmd "$cmd" "Adding redland apt-key" if ! cat "/etc/apt/sources.list" | grep "$REDLAND_DEB">/dev/null 2>&1; then echo "deb $REDLAND_DEB ./" | sudo $TEE -a /etc/apt/sources.list >/dev/null |