Browse Source

fix terminfo file extension, man postinstall

master v0.8.0-3
Martin Simon 4 weeks ago
parent
commit
7939115109
  1. 7
      debian/changelog
  2. 7
      debian/postinst
  3. 1
      debian/prerm
  4. 2
      debian/rules

7
debian/changelog

@ -1,3 +1,10 @@
alacritty (0.8.0-3) unstable; urgency=medium
* Fix Alacritty terminfo file extension
* Fix postinstall man
-- Martin Simon <me@martinsimon.me> Wed, 19 May 2021 00:00:00 +0000
alacritty (0.8.0-2) unstable; urgency=medium
* Fix Alacritty terminfo file installation

7
debian/postinst

@ -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
debian/prerm

@ -1,4 +1,5 @@
#!/bin/sh
set -e
update-alternatives --remove x-terminal-emulator /usr/bin/alacritty

2
debian/rules

@ -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:

Loading…
Cancel
Save