File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,6 @@ su sudobot -c "PATH=\"$PATH\" BUN_INSTALL=/var/sudobot $pm install" -s /bin/sh |
59
59
# Enable systemd service
60
60
if [ -f /lib/systemd/system/sudobot.service ]; then
61
61
if command -v deb-systemd-helper > /dev/null 2>&1 ; then
62
- deb-systemd-helper enable sudobot.service
62
+ deb-systemd-helper enable sudobot
63
63
fi
64
64
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
if command -v deb-systemd-helper > /dev/null 2>&1 ; then
4
- deb-systemd-helper stop sudobot.service
5
- deb-systemd-helper disable sudobot.service
4
+ deb-systemd-helper stop sudobot
5
+ deb-systemd-helper disable sudobot
6
6
fi
7
7
8
8
if [ -d /var/sudobot ] && [ -n " $( ls -A /var/sudobot) " ]; then
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ $(PACKAGE):
38
38
chmod 755 "$(BUILD_DIR)/usr/share/sudobot"
39
39
40
40
cp "$(COMMON_DIR)/systemd-sudobot.service" "$(SYSTEMD_SERVICE)"
41
- chmod 640 "$(SYSTEMD_SERVICE)"
41
+ chmod 644 "$(SYSTEMD_SERVICE)"
42
42
43
43
mv "$(BUILD_DIR)/DEBIAN/control.in" "$(BUILD_DIR)/DEBIAN/control"
44
44
sed -i "s/@VERSION@/$(VERSION)/g" "$(BUILD_DIR)/DEBIAN/control"
You can’t perform that action at this time.
0 commit comments