summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-11-26 19:21:00 +0300
committerNamilskyy <alive6863@gmail.com>2025-11-26 19:21:00 +0300
commit2e86f06da02d2cbe0b16a90eab7e33fdcf50f5f7 (patch)
tree09148c18047f58cbefae71b37cd994673ce9b581 /examples
parentecaa84ab50a8a492de35270cd50374809647da19 (diff)
Work on pkgtoolkit, validation and processing of the INSTALL installation script (+ metadata fields added to INSTALL). An example of the INSTALL examples file has also been added.
Diffstat (limited to 'examples')
-rw-r--r--examples/INSTALL22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/INSTALL b/examples/INSTALL
index e69de29..4ccd1d5 100644
--- a/examples/INSTALL
+++ b/examples/INSTALL
@@ -0,0 +1,22 @@
+[package]
+name = "my-package"
+version = "1.0.0"
+arch = "X86_64"
+
+[install]
+path = "/usr/bin/my-package"
+user = "root"
+group = "root"
+mode = "755"
+
+# Also [install] can be
+# path = "/usr/bin/my-package"
+# user = "root"
+# group = "root"
+# mode = "755"
+# custom_script = "./install.sh" OR
+# custom_script = """
+# echo "Installing my-package"
+# sudo apt-get install my-package
+# """
+# If there is a custom_script field, mesk will not automatically install your package and other fields in [install] will not be required. \ No newline at end of file