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
commit5dd2ccf0878b4d9939999cd7904e2361522c73d9 (patch)
tree0dd4e58c857c63e2f0e0b250ed66028effb35fc9 /notepadpp/debian/notepadpp-bin64.postinst
parentMerge branch 'freefilesync-bump' into 'master' (diff)
parentAdd notepad++ as notepadpp (diff)
downloadstackrpms-5dd2ccf0878b4d9939999cd7904e2361522c73d9.tar.gz
stackrpms-5dd2ccf0878b4d9939999cd7904e2361522c73d9.tar.bz2
stackrpms-5dd2ccf0878b4d9939999cd7904e2361522c73d9.zip
Merge branch 'notepadpp-bump' into 'master'
Add notepad++ as notepadpp See merge request bgstack15/stackrpms!112
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