From fcd25825ac9dd5e32f0580deb0b265d5544504fb Mon Sep 17 00:00:00 2001 From: asandikci Date: Thu, 27 Jul 2023 12:32:25 +0300 Subject: [PATCH] update install script --- c-daemon/tmp-install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/c-daemon/tmp-install.sh b/c-daemon/tmp-install.sh index 22b9e90..913dc34 100644 --- a/c-daemon/tmp-install.sh +++ b/c-daemon/tmp-install.sh @@ -13,11 +13,10 @@ git clone https://git.aliberksandikci.com.tr/liderahenk/go-daemon cd go-daemon/ go build -o c-daemon/bin/ c-daemon/go-files/info.go gcc -o c-daemon/bin/test c-daemon/daemon/test.c c-daemon/daemon/daemon.c -sudo ln -sv "$(pwd)"/c-daemon/bin/info /info -``` # Installing # move to cd c-daemon -sudo mv bin/test /usr/bin/cdaemontmp -sudo mv bin/info /usr/lib/cdaemontmp/info \ No newline at end of file +sudo mv ./bin/test /usr/bin/cdaemontmp +sudo mkdir -p /usr/lib/cdaemontmp/ +sudo mv ./bin/info /usr/lib/cdaemontmp/info \ No newline at end of file