Fix creating deb directory structure

This commit is contained in:
Jordan Dominion
2023-06-23 17:01:21 -04:00
parent 3defb49450
commit 7e1245f0bf
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -1,10 +1,8 @@
#!/usr/bin/make -f
install:
install -d "$(DESTDIR)/opt/tgstation-server"
build/package/deb/install_artifacts.sh "$(DESTDIR)"
install -d "$(DESTDIR)/etc/tgstation-server"
install build/package/deb/appsettings.Initial.yml "$(DESTDIR)/etc/tgstation-server/appsettings.Production.yml"
ln -s $(DESTDIR)/etc/tgstation-server/appsettings.Production.yml "$(DESTDIR)/opt/tgstation-server/appsettings.Production.yml"
install -D build/package/deb/appsettings.Initial.yml "$(DESTDIR)/etc/tgstation-server/appsettings.Production.yml"
ln -s "$(DESTDIR)/etc/tgstation-server/appsettings.Production.yml" "$(DESTDIR)/opt/tgstation-server/appsettings.Production.yml"
install -d "$(DESTDIR)/usr/bin"
install build/package/deb/tgs-configure "$(DESTDIR)/usr/bin/"
install -D build/package/deb/tgs-configure "$(DESTDIR)/usr/bin/"
+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/sh -e
cd artifacts && for f in $(find * -type f); do install "$f" "$1/opt/tgstation-server/$f"; done
cd artifacts && for f in $(find * -type f); do install -D "$f" "$1/opt/tgstation-server/$f"; done