summaryrefslogtreecommitdiff
path: root/notepadpp/debian/notepadpp-bin64.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-12-29 13:06:46 +0000
committerB Stack <bgstack15@gmail.com>2019-12-29 13:06:46 +0000
commite91826c52adadc90dcb12c10df19a7cf60ca3ac4 (patch)
tree0dd4e58c857c63e2f0e0b250ed66028effb35fc9 /notepadpp/debian/notepadpp-bin64.postinst
parentMerge branch 'freefilesync-bump' into 'master' (diff)
downloadstackrpms-e91826c52adadc90dcb12c10df19a7cf60ca3ac4.tar.gz
stackrpms-e91826c52adadc90dcb12c10df19a7cf60ca3ac4.tar.bz2
stackrpms-e91826c52adadc90dcb12c10df19a7cf60ca3ac4.zip
Add notepad++ as notepadpp
Diffstat (limited to 'notepadpp/debian/notepadpp-bin64.postinst')
-rw-r--r--notepadpp/debian/notepadpp-bin64.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/notepadpp/debian/notepadpp-bin64.postinst b/notepadpp/debian/notepadpp-bin64.postinst
new file mode 100644
index 0000000..67a443d
--- /dev/null
+++ b/notepadpp/debian/notepadpp-bin64.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+case "$1" in
+ configure|abort-upgrade|abort-remove)
+ update-alternatives --install /usr/bin/notepadpp notepadpp /usr/bin/notepadpp64 60
+ update-alternatives --install /usr/bin/x-editor x-editor /usr/bin/notepadpp64 60
+ ;;
+esac
bgstack15