From 572b0e1b78a601d4727a0c05c7fb31e671143824 Mon Sep 17 00:00:00 2001
From: Li
Date: Tue, 19 Apr 2022 12:43:56 +1200
Subject: [PATCH] Update
---
.github/workflows/build.yml | 2 +-
HorseIsleServer/HISPd/Resources/DEBIAN/postinst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ebebc5b..1a3f8e0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -113,7 +113,7 @@ jobs:
chmod +x /mnt/fucking-windows/Debian64/usr/bin/HISPd
mkdir debpackage
dpkg-deb --build /mnt/fucking-windows/Debian64
- mv /mnt/fucking-windows/Debian64.deb debpackage/HISP.deb
+ mv /mnt/fucking-windows/Debian64.deb debpackage/HISP-Debian-AMD64.deb
# - name: Build android-arm
# continue-on-error: false
# run: |
diff --git a/HorseIsleServer/HISPd/Resources/DEBIAN/postinst b/HorseIsleServer/HISPd/Resources/DEBIAN/postinst
index 1b1d1a7..e8b6656 100644
--- a/HorseIsleServer/HISPd/Resources/DEBIAN/postinst
+++ b/HorseIsleServer/HISPd/Resources/DEBIAN/postinst
@@ -1,6 +1,6 @@
#!/bin/sh
-useradd horseisle
+useradd -r horseisle
chown -R horseisle:horseisle /etc/hisp
systemctl enable HISP.service
systemctl start HISP