iop-update_package: fixed so that -u flag is reset on every call

This commit is contained in:
Reidar Cederqvist 2017-03-22 11:35:35 +01:00
parent 5e5f34662e
commit 01d39c8552

View file

@ -1,7 +1,5 @@
#!/bin/bash
UPDATE=0
print_git_update()
{
echo "pkg -> ${PKG_NAME}"
@ -586,6 +584,8 @@ usage(){
# Exported interface
function update_package {
UPDATE=0
Color_Off='\033[0m' # Text Reset
# Regular Colors