add pkgsrc_update script

This commit is contained in:
Aaron Bieber 2021-08-31 06:41:28 -06:00
parent 9b76fe9815
commit 2f53ea0f64

18
bin/pkgsrc_update.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
export OSX_TOLERATE_SDK_SKEW=yes
(
cd ~/pkgsrc && git pull
pkg_rolling-replace -F -uv -X pkg_install
echo "continue? (y/n)"
read cont
if [ "${cont}" = "y" ]; then
pkg_rolling-replace -uv -X pkg_install
else
exit 0;
fi
)