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..9c9d40b
--- /dev/null
+++ b/DEBIAN/control
@@ -0,0 +1,7 @@
+Package: idea
+Version: version
+Provides: idea
+Maintainer: Andrew Guschin <saintruler@gmail.com>
+Architecture: all
+Section: misc
+Description: JetBrains IntelliJ IDEA IDE.
diff --git a/DEBIAN/postinst b/DEBIAN/postinst
new file mode 100755
index 0000000..a4c233e
--- /dev/null
+++ b/DEBIAN/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+version="version"
+ln -sf "/opt/JetBrains.idea-$version/bin/idea.sh" "/usr/bin/idea"