summaryrefslogtreecommitdiff
path: root/DEBIAN
diff options
context:
space:
mode:
Diffstat (limited to 'DEBIAN')
-rw-r--r--DEBIAN/control7
-rwxr-xr-xDEBIAN/postinst4
2 files changed, 11 insertions, 0 deletions
diff --git a/DEBIAN/control b/DEBIAN/control
new file mode 100644
index 0000000..06b4931
--- /dev/null
+++ b/DEBIAN/control
@@ -0,0 +1,7 @@
+Package: clion
+Version: version
+Provides: clion
+Maintainer: Andrew Guschin <saintruler@gmail.com>
+Architecture: all
+Section: misc
+Description: JetBrains CLion IDE.
diff --git a/DEBIAN/postinst b/DEBIAN/postinst
new file mode 100755
index 0000000..f48c91e
--- /dev/null
+++ b/DEBIAN/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+version="version"
+ln -sf "/opt/JetBrains.clion-$version/bin/clion.sh" "/usr/bin/clion"