20 lines
329 B
Bash
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
|
|
}
|
|
|