From 222d274ea728f95de82193e6a862ce39ebf636ea Mon Sep 17 00:00:00 2001 From: Joel Klimont Date: Tue, 4 Oct 2022 20:40:05 +0200 Subject: [PATCH] fixed compsrv package --- server_v2/build_deb.sh | 6 +++--- server_v2/postinstall.sh | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) 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