Commit the update script.
This commit is contained in:
parent
baeb18a03e
commit
5081162800
|
@ -85,15 +85,9 @@ done
|
||||||
|
|
||||||
diff -ru --exclude='*.c' --exclude='*.cpp' --exclude='*.h' \
|
diff -ru --exclude='*.c' --exclude='*.cpp' --exclude='*.h' \
|
||||||
./ upgrade.tmp/${P} \
|
./ upgrade.tmp/${P} \
|
||||||
| grep -v '^Only in' \
|
|
||||||
> upgrade.diff
|
> upgrade.diff
|
||||||
if [ $? -eq 2 ]
|
|
||||||
then
|
|
||||||
print_failure "diff failed."
|
|
||||||
cleanup
|
|
||||||
fi
|
|
||||||
|
|
||||||
case $? in
|
case "$?" in
|
||||||
0)
|
0)
|
||||||
print_success "Already up to date."
|
print_success "Already up to date."
|
||||||
rm upgrade.diff
|
rm upgrade.diff
|
||||||
|
|
Loading…
Reference in New Issue