Commit 4633cfe2 authored by Praveen Arimbrathodiyil's avatar Praveen Arimbrathodiyil
Browse files

check sha256 sum

parent 429adfea
......@@ -13,3 +13,4 @@ nginx.conf.nohttps.example usr/share/diaspora-common
rake-tasks.sh usr/lib/diaspora-common/scripts
set-env-diaspora.sh usr/lib/diaspora-common/scripts
set-env-nginx.sh usr/lib/diaspora-common/scripts
sha256sums usr/lib/diaspora-common
......@@ -13,6 +13,7 @@ export diaspora_home=/usr/share/diaspora
export diaspora_user_home=/var/lib/diaspora
export diaspora_cache=/var/cache/diaspora-installer
export diaspora_scripts=/usr/lib/diaspora-common/scripts
export diaspora_sha256sums=/usr/lib/diaspora-common/sha256sums
export diaspora_log_dir=/var/log/diaspora
export diaspora_nginx_log=/var/log/diaspora
export diaspora_ssl_path=/etc/diaspora/ssl
......
......@@ -25,7 +25,10 @@ then
wget -O ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz ${github_archive_url}/v${diaspora_version}.tar.gz
fi
fi
echo "Checking integrity of download..."
sha256 -c ${diaspora_sha256sums}
echo "Extracting files..."
tar -C ${diaspora_cache} -zxvf ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz >/dev/null
......
0ffee309d3baa4e213a7d6c57cb000ce7f83967b0b564676aa0033aea4b2dcaa /var/cache/diaspora-installer/diaspora-0.6.3.0.tar.gz
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment