mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-20 21:43:41 +00:00
Fix scripts/build_deb.sh for debian jessie
Thanks to Tom <hexuxin@foxmail.com> for the bug report.
This commit is contained in:
@@ -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 apt-get update
|
||||
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
|
||||
sudo apt-get update
|
||||
fi
|
||||
@@ -396,7 +398,7 @@ esac
|
||||
|
||||
case "$OSVER" in
|
||||
jessie)
|
||||
BPO="debhelper libbloom-dev"
|
||||
BPO="debhelper libbloom-dev libsodium-dev"
|
||||
BPOEXTRA=sloppy
|
||||
;;
|
||||
stretch)
|
||||
|
||||
Reference in New Issue
Block a user