mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Not sure why we needed this specific stuff on raspbian, might not be needed for stretch.
This commit is contained in:
parent
709c6bfb7a
commit
96f9864405
1 changed files with 19 additions and 15 deletions
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue