1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/kitty/kitty.post-install
Jakub Jirutka 5a1c87beb0 community/kitty: move from testing
I verified that Kitty works on Alpine desktop.
2021-07-28 02:37:49 +02:00

15 lines
631 B
Bash

#!/bin/sh
# XXX: This is workaround for inability to combine provides, provider_priority,
# and install_if - the package with higher priority is always installed
# despite install_if pulls the package with a lower priority into the
# transaction.
# If the user install both kitty and wayland/libx11 in a single transaction
# (apk add kitty wayland), this is script is run *before* wayland is installed.
if ! apk info -eq wayland && ! apk info -eq libx11; then
echo '* kitty needs either "wayland" or "libx11" to be installed!' >&2
fi
echo '* If you want to display images in terminal (icat), install "imagemagick".' >&2
exit 0