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
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = linux
[Action]
@alaricljs
alaricljs / kpcli-installer.sh
Last active Oct 10, 2018 — forked from vaites/kpcli-installer.sh
kpcli installer for Termux
View kpcli-installer.sh
pkg install perl
cpan Crypt::Rijndael
cpan Term::ReadKey
cpan Sort::Naturally
cpan File::KeePass
cpan Term::ShellUI
cpan Term::ReadLine::Perl5
wget http://netcologne.dl.sourceforge.net/project/kpcli/kpcli-3.2.pl -N -O ${PREFIX}/bin/kpcli
chmod +x ${PREFIX}/bin/kpcli
# not needed due to termux-exec # termux-fix-shebang ${PREFIX}/bin/kpcli