diff --git a/solv-debian/debian/install b/solv-debian/debian/install index 23fa6b4..3998096 100644 --- a/solv-debian/debian/install +++ b/solv-debian/debian/install @@ -1,2 +1,2 @@ solv /usr/bin/ -index.js /opt/solv \ No newline at end of file +index.js /usr/lib/solv/ \ No newline at end of file diff --git a/solv-debian/debian/postinst b/solv-debian/debian/postinst index f953019..d25ec94 100644 --- a/solv-debian/debian/postinst +++ b/solv-debian/debian/postinst @@ -32,7 +32,7 @@ sudo -u solv -H sh -c 'if [ ! -d "/home/solv/.nodenv" ]; then if ! grep -q "nodenv init" /home/solv/.zshrc; then echo "$(nodenv init - zsh)" >> /home/solv/.zshrc fi - source /home/solv/.zshrc + exec zsh fi ' diff --git a/solv-debian/solv b/solv-debian/solv index 1d26f14..d8eb7e8 100755 --- a/solv-debian/solv +++ b/solv-debian/solv @@ -1,2 +1,2 @@ #!/bin/sh -node /opt/solv/index.js "$@" \ No newline at end of file +node /usr/bin/index.js "$@" \ No newline at end of file