From 6e63ce41791327f7f070109f953fc43fd3419bb6 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Mon, 26 Aug 2013 11:40:50 +0200 Subject: [PATCH] Add an outdated_pkg() function -- not used nor finished yet. --- openup | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openup b/openup index fceb201..aa7fd1d 100755 --- a/openup +++ b/openup @@ -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" ;;