pre_install() {
if [ "$#" = "3" ] && dpkg --compare-versions "$2" le "24.13.0"; then
echo "Starting with nodejs-lts v24.13.0-1, npm is no longer bundled with nodejs-lts package."
echo "You might want to install npm package separately if you need it."
echo "You can install it by running: pkg install npm"
echo "It should not be needed unless you are using --no-install-recommends with apt."
fi
}
