Browse Source

Fix scripts/build_deb.sh for debian jessie

Thanks to Tom <hexuxin@foxmail.com> for the bug report.
pull/1708/merge
Roger Shimizu 7 years ago
committed by Max Lv
parent
commit
da85fa17d4
1 changed files with 3 additions and 1 deletions
  1. 4
      scripts/build_deb.sh

4
scripts/build_deb.sh

@ -65,6 +65,8 @@ apt_init() {
sudo sh -c "printf \"\\ndeb $REPO ${OSVER}-backports-sloppy main\" >> /etc/apt/sources.list.d/${OSVER}-backports.list" sudo sh -c "printf \"\\ndeb $REPO ${OSVER}-backports-sloppy main\" >> /etc/apt/sources.list.d/${OSVER}-backports.list"
sudo apt-get update sudo apt-get update
sudo apt-get install --no-install-recommends -y -t $BPO $DEPS_BPO sudo apt-get install --no-install-recommends -y -t $BPO $DEPS_BPO
[ -n "$DEPS_EXTRA" -a "$DEPS_EXTRA" = "sloppy" ] &&
sudo apt-get install --no-install-recommends -y -t ${BPO}-sloppy $DEPS_BPO
else else
sudo apt-get update sudo apt-get update
fi fi
@ -396,7 +398,7 @@ esac
case "$OSVER" in case "$OSVER" in
jessie) jessie)
BPO="debhelper libbloom-dev"
BPO="debhelper libbloom-dev libsodium-dev"
BPOEXTRA=sloppy BPOEXTRA=sloppy
;; ;;
stretch) stretch)

Loading…
Cancel
Save