pentest-distro-builder/modules/live-build-config/kali-config/common/includes.installer/usr/lib/live-installer.d/unhold

9 lines
313 B
Plaintext
Raw Normal View History

#!/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'