summarylogtreecommitdiffstats
path: root/ycm-generator.install
diff options
context:
space:
mode:
Diffstat (limited to 'ycm-generator.install')
-rw-r--r--ycm-generator.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/ycm-generator.install b/ycm-generator.install
new file mode 100644
index 000000000000..fcfbaf51db8e
--- /dev/null
+++ b/ycm-generator.install
@@ -0,0 +1,12 @@
+post_install()
+{
+ ln -s /usr/share/YCM-Generator/config_gen.py \
+ /usr/bin/ycm_generator
+ echo "link /usr/share/YCM-Generator/config_gen.py to /usr/bin/ycm_generator"
+ echo "\n"
+}
+post_remove()
+{
+ rm /usr/bin/ycm_generator
+ echo "remove /usr/bin/ycm_generator"
+}