pentest-distro-builder/modules/live-build-config/kali-config/common/includes.installer/usr/lib/live-installer.d/unhold
2020-01-29 16:45:43 -07:00

9 lines
313 B
Bash
Executable file

#!/bin/sh
set -e
# Remove the "hold" mark on any package, in Kali we put kernel packages
# on hold because upgrading them hurts more than it helps and because
# we want to ensure they are not removed by a routine dist-upgrade.
in-target sh -c 'apt-mark showhold | while read pkg; do apt-mark unhold $pkg; done'