From 83e4f181b3381595133b2b9c690e81e0b2747b78 Mon Sep 17 00:00:00 2001 From: bipface Date: Sun, 10 Aug 2025 21:39:49 +1000 Subject: [PATCH 1/2] Fix missing semicolons in debian postinst script (#1158) These missing semicolons cause some errors to be printed during installation, such as: `Failed to stop bin-systemctl.mount: Unit bin-systemctl.mount not loaded.` --- debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index dbdbe4b..a190ba4 100644 --- a/debian/postinst +++ b/debian/postinst @@ -19,8 +19,8 @@ fi echo "" echo 3proxy installed. if /bin/systemctl >/dev/null 2>&1; then \ - /bin/systemctl stop 3proxy.service \ - /bin/systemctl start 3proxy.service \ + /bin/systemctl stop 3proxy.service ;\ + /bin/systemctl start 3proxy.service ;\ echo use ;\ echo " "systemctl start 3proxy.service ;\ echo to start proxy ;\ From d0ccaa07c330203726cea3cbc70a4310ae93ae71 Mon Sep 17 00:00:00 2001 From: Sertonix Date: Sun, 10 Aug 2025 11:46:48 +0000 Subject: [PATCH 2/2] Fix race condition in make install on linux (#1129) Since INSTALL_CFG_DEST is a symlink we also need to make sure that the target always exists before installing anything to it. Fixes f860ea9e5446 Install chrooted configuration with make install on linux --- Makefile.Linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.Linux b/Makefile.Linux index 962d551..a9f9d4e 100644 --- a/Makefile.Linux +++ b/Makefile.Linux @@ -103,7 +103,7 @@ install-chroot-dir: $(INSTALL_BIN) -d $(CHROOTDIR)/libexec chmod -R o-rwx $(CHROOTDIR) -install-etc-default-config: +install-etc-default-config: install-chroot-dir if [ ! -d $(INSTALL_CFG_DEST) ]; then \ ln -s $(CHROOTREL)/conf $(INSTALL_CFG_DEST); \ $(INSTALL_BIN) $(INSTALL_CFG) $(ETCDIR)/3proxy.cfg; \