mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-01 23:43:41 +00:00
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
This commit is contained in:
Vendored
+1
-1
@@ -16,7 +16,7 @@ case "$1" in
|
||||
esac
|
||||
|
||||
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#
|
||||
|
||||
|
||||
Reference in New Issue
Block a user