forked from mirrors/openup
Add an outdated_pkg() function -- not used nor finished yet.
This commit is contained in:
parent
4e40824649
commit
6e63ce4179
1 changed files with 6 additions and 1 deletions
7
openup
7
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" ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue