Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
fix terminfo file extension, man postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
barnumbirr committed May 19, 2021
1 parent d735ee9 commit 7939115
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
alacritty (0.8.0-3) unstable; urgency=medium

* Fix Alacritty terminfo file extension
* Fix postinstall man

-- Martin Simon <[email protected]> Wed, 19 May 2021 00:00:00 +0000

alacritty (0.8.0-2) unstable; urgency=medium

* Fix Alacritty terminfo file installation
Expand Down
7 changes: 4 additions & 3 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
set -e

update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 20 \
--slave /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz /usr/local/share/man/man1/alacritty.1.gz
set -e

update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator \
/usr/bin/alacritty 20 --slave /usr/share/man/man1/x-terminal-emulator.1.gz \
x-terminal-emulator.1.gz /usr/share/man/man1/alacritty.1.gz
1 change: 1 addition & 0 deletions debian/prerm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh

set -e

update-alternatives --remove x-terminal-emulator /usr/bin/alacritty
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ override_dh_auto_install:
install -Dm0644 "extra/completions/_alacritty" "debian/alacritty/usr/share/vendor-completions/_alacritty"
install -Dm0644 "extra/logo/alacritty-term.svg" "debian/alacritty/usr/share/pixmaps/com.alacritty.Alacritty.svg"
install -Dm0644 "extra/linux/Alacritty.desktop" "debian/alacritty/usr/share/applications/com.alacritty.Alacritty.desktop"
install -Dm0644 "extra/alacritty.info" "debian/alacritty/usr/share/terminfo/a/alacritty.info"
install -Dm0644 "extra/alacritty.info" "debian/alacritty/usr/share/terminfo/a/alacritty"
sed -i 's/Icon=Alacritty/Icon=com.alacritty.Alacritty/g' "debian/alacritty/usr/share/applications/com.alacritty.Alacritty.desktop"

override_dh_installexamples:
Expand Down

0 comments on commit 7939115

Please sign in to comment.