summaryrefslogtreecommitdiff
path: root/qmenu/install-qmenu-scripts.sls
diff options
context:
space:
mode:
authorCasper <me@skylarcloud.xyz>2024-12-23 17:13:45 -0700
committerCasper <me@skylarcloud.xyz>2024-12-23 17:13:45 -0700
commit01a33ab0913d439150065ac23644c4f140ff8917 (patch)
tree9ad71bd7e6f5a5aad2c2cdbff4bb75de12565998 /qmenu/install-qmenu-scripts.sls
parent7b5a0e9e88f015cb68a46bb657661f4663e287af (diff)
added qmenu!
Diffstat (limited to 'qmenu/install-qmenu-scripts.sls')
-rw-r--r--qmenu/install-qmenu-scripts.sls20
1 files changed, 20 insertions, 0 deletions
diff --git a/qmenu/install-qmenu-scripts.sls b/qmenu/install-qmenu-scripts.sls
new file mode 100644
index 0000000..cffe96a
--- /dev/null
+++ b/qmenu/install-qmenu-scripts.sls
@@ -0,0 +1,20 @@
+qmenu--move-scripts:
+ file.managed:
+ - user: root
+ - group: root
+ - mode: 777
+ - names:
+ - /usr/bin/qmenu-am:
+ - source: salt://qmenu/qmenu-am
+ - /usr/bin/qmenu-dm:
+ - source: salt://qmenu/qmenu-dm
+ - /usr/bin/qmenu-vm:
+ - source: salt://qmenu/qmenu-vm
+
+qmenu-reset-lib:
+ cmd.run:
+ - name: 'sudo rm -fr /lib/qmenu_vm'
+
+qmenu-move-scripts:
+ cmd.run:
+ - name: 'sudo mv /srv/user_salt/qmenu/qmenu_vm/ /lib/'