diff --git a/server_v2/build_deb.sh b/server_v2/build_deb.sh index 3088c81..4f6404a 100755 --- a/server_v2/build_deb.sh +++ b/server_v2/build_deb.sh @@ -11,7 +11,7 @@ fpm \ --name compsrv \ --version 1.0.0-0 \ --architecture all \ - ./build/compsrv=/usr/bin/compsrv + ./test_bin/compsrv=/usr/bin/compsrv -# dpkg-deb -xv compsrv-1.0.0-0-any.deb test_bin -# sudo rm -rf test_bin/usr test_bin/lib +# MUST BE RUN IN BASH, zsh has 'ar' as an alias to 'apt' +# ar -xv compsrv-1.0.0-0-any.deb diff --git a/server_v2/postinstall.sh b/server_v2/postinstall.sh index ecbb41a..ca80782 100755 --- a/server_v2/postinstall.sh +++ b/server_v2/postinstall.sh @@ -1,3 +1,2 @@ -#!/bin/sh service compsrv restart systemctl enable compsrv