summarylogtreecommitdiffstats
path: root/hyprwall.install
blob: 9446b84320f87d7f3ef36230aafe8c0633d88a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
    if ! [[ $(pacman -Qq "${optdepends[@]}") ]] &> /dev/null; then
        printf "\n\n\033[31mWARNING!\033[0m Install one (or more) of the following backends:\n          "

        for dep in "${optdepends[@]}"; do
            printf "%s " "$dep"
        done

        printf "\n\n\n"
    fi
}