Files
darkline-keyring/darkline-keyring.install
2025-05-25 14:42:29 +03:00

20 lines
329 B
Bash

#!/bin/sh
populate_darkine() {
if /data/data/com.termux/files/usr/bin/pacman-key -l >/dev/null 2>&1; then
/data/data/com.termux/files/usr/bin/pacman-key --populate darkine
fi
}
post_upgrade() {
populate_darkine
}
post_install() {
if [ -x /data/data/com.termux/files/usr/bin/pacman-key ]; then
populate_darkine
fi
}