freebsd-ports/misc/41upgrade/pkg-install

5 lines
105 B
Bash

#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/port.mkversion