mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Fix creating deb directory structure
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user