summarylogtreecommitdiffstats
path: root/steamcmd.install
diff options
context:
space:
mode:
Diffstat (limited to 'steamcmd.install')
-rw-r--r--steamcmd.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/steamcmd.install b/steamcmd.install
new file mode 100644
index 000000000000..6a0f481a0fde
--- /dev/null
+++ b/steamcmd.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo "UPDATING STEAMCMD FOR FIRST USE!"
+ exec /usr/share/steamcmd/steamcmd.sh +quit
+ chgrp -R users /usr/share/steamcmd
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ rm -rf /usr/share/steamcmd
+}