Skip to content

Instantly share code, notes, and snippets.

View kernel.hook
# place in /etc/pacman.d/hooks
# strips the installed/upgraded kernel and places it in /boot
Operation = Install
Operation = Upgrade
Type = Package
Target = linux
alaricljs /
Last active October 10, 2018 12:00 — forked from vaites/
kpcli installer for Termux
pkg install perl
cpan Crypt::Rijndael
cpan Term::ReadKey
cpan Sort::Naturally
cpan File::KeePass
cpan Term::ShellUI
cpan Term::ReadLine::Perl5
wget -N -O ${PREFIX}/bin/kpcli
chmod +x ${PREFIX}/bin/kpcli
# not needed due to termux-exec # termux-fix-shebang ${PREFIX}/bin/kpcli