Browse Source

fix path typo in debian/postinstall (#691)

Missing slash causes dpkg -i to fail:
---
Setting up shadowsocks-libev (2.4.7-1) ...
sed: can't read etc/shadowsocks-libev/config.json: No such file or directory
dpkg: error processing shadowsocks-libev (--install):
 subprocess installed post-installation script returned error exit status 2
pull/694/head
Joey Korkames 8 years ago
committed by Max Lv
parent
commit
69fc73a14d
1 changed files with 1 additions and 1 deletions
  1. 2
      debian/shadowsocks-libev.postinst

2
debian/shadowsocks-libev.postinst

@ -16,7 +16,7 @@ case "$1" in
esac esac
passwd=$(apg -n 1 -M ncl) passwd=$(apg -n 1 -M ncl)
sed -i "s/barfoo!/$passwd/" etc/shadowsocks-libev/config.json
sed -i "s/barfoo!/$passwd/" /etc/shadowsocks-libev/config.json
#DEBHELPER# #DEBHELPER#

Loading…
Cancel
Save