add pkgsrc_update script
This commit is contained in:
parent
9b76fe9815
commit
2f53ea0f64
18
bin/pkgsrc_update.sh
Executable file
18
bin/pkgsrc_update.sh
Executable 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
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user