1
0
Fork 0
forked from mirrors/openup

Add an outdated_pkg() function -- not used nor finished yet.

This commit is contained in:
Antoine Jacoutot 2013-08-26 11:40:50 +02:00
commit 6e63ce4179

7
openup
View file

@ -28,7 +28,7 @@ PKG_PATH_UPDATE="https://stable.mtier.org/updates/$(uname -r)/$(arch -s)"
### end of user defined variables
########################################################################
### DO NOT MODIFY ANYTHING BELOW THIS LINE!!! #
### DO NOT MODIFY ANYTHING BELOW THIS LINE!!! ###
########################################################################
_OPENUP_VERSION=3
@ -178,6 +178,11 @@ update_fw() {
eval ${_CMD}
}
outdated_pkg() {
# XXX binpatches, firmwares
pkg_add -nuv | grep Adding | sed -e 's,Adding ,,;s,(pretending),,' | sort -u
}
while getopts 'SUn' arg; do
case ${arg} in
S) nosig=1; pkg_opt="${pkg_opt} -D nosig" ;;