Not sure why we needed this specific stuff on raspbian, might not be needed for stretch.

This commit is contained in:
Alexandre Aubin 2018-02-07 02:01:26 +01:00 committed by GitHub
parent 709c6bfb7a
commit 96f9864405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,21 +134,25 @@ installscript_dependencies() {
$DEPENDENCIES \
|| return 1
if is_raspbian ; then
DEPENDENCIES="ssl-cert lua-event lua-expat lua-socket lua-sec lua-filesystem"
apt_get_wrapper -o Dpkg::Options::="--force-confold" \
-y --force-yes install \
$DEPENDENCIES \
|| return 1
wget -q https://build.yunohost.org/metronome_3.7.9+33b7572-1_armhf.deb \
|| return 1
sha256sum -c <<<"d19c6b08afb8674d1257dc3349a60e88218c4c01133c53c1fdcb02e86b415a40 metronome_3.7.9+33b7572-1_armhf.deb" \
|| return 1
dpkg -i metronome_3.7.9+33b7572-1_armhf.deb >> $YUNOHOST_LOG 2>&1 \
|| return 1
apt-mark hold metronome >> $YUNOHOST_LOG 2>&1 \
|| return 1
fi
#
# Temporary comment for stretch...
# To be removed if really not needed
#
#if is_raspbian ; then
# DEPENDENCIES="ssl-cert lua-event lua-expat lua-socket lua-sec lua-filesystem"
# apt_get_wrapper -o Dpkg::Options::="--force-confold" \
# -y --force-yes install \
# $DEPENDENCIES \
# || return 1
# wget -q https://build.yunohost.org/metronome_3.7.9+33b7572-1_armhf.deb \
# || return 1
# sha256sum -c <<<"d19c6b08afb8674d1257dc3349a60e88218c4c01133c53c1fdcb02e86b415a40 metronome_3.7.9+33b7572-1_armhf.deb" \
# || return 1
# dpkg -i metronome_3.7.9+33b7572-1_armhf.deb >> $YUNOHOST_LOG 2>&1 \
# || return 1
# apt-mark hold metronome >> $YUNOHOST_LOG 2>&1 \
# || return 1
#fi
}