diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2020-07-15 07:43:44 -0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2020-07-15 07:43:44 -0400 |
| commit | 2c74cdb84524e566967377d0e375d189b2089381 (patch) | |
| tree | 11250550210d294a46a175ae80a1a5a8bb6a5212 /DEBIAN/postinst | |
Added files for building st .deb package
Diffstat (limited to 'DEBIAN/postinst')
| -rwxr-xr-x | DEBIAN/postinst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/DEBIAN/postinst b/DEBIAN/postinst new file mode 100755 index 0000000..20b0bbd --- /dev/null +++ b/DEBIAN/postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# Install the new alternative. +update-alternatives \ + --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/st 15 \ + --slave /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz /usr/share/man/man1/st.1.gz + + + +exit 0 |