summarylogtreecommitdiffstats
path: root/codegrade-fs-electron.install
diff options
context:
space:
mode:
authorLorian Coltof2020-05-27 17:12:43 +0200
committerLorian Coltof2020-05-27 17:13:17 +0200
commit7912395b1dd10fcfd798e07226cd883b37694521 (patch)
treeb7ddc53398002ae109eb120c15b537ff1f061868 /codegrade-fs-electron.install
downloadaur-7912395b1dd10fcfd798e07226cd883b37694521.tar.gz
Initial commit
Diffstat (limited to 'codegrade-fs-electron.install')
-rw-r--r--codegrade-fs-electron.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/codegrade-fs-electron.install b/codegrade-fs-electron.install
new file mode 100644
index 00000000000..388ee698e89
--- /dev/null
+++ b/codegrade-fs-electron.install
@@ -0,0 +1,9 @@
+post_install() {
+ # Link to the binary
+ ln -sf '/opt/CodeGrade Filesystem/codegrade-fs' '/usr/local/bin/codegrade-fs'
+}
+
+post_remove() {
+ # Delete the link to the binary
+ rm -f '/usr/local/bin/codegrade-fs'
+}