|
@ -117,7 +117,6 @@ clean_cache() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trap_add "EXIT" clean_cache |
|
|
|
|
|
|
|
|
|
|
|
usage="$exname SERVICE"' |
|
|
usage="$exname SERVICE"' |
|
|
|
|
|
|
|
@ -2623,8 +2622,13 @@ cached_wget() { |
|
|
} |
|
|
} |
|
|
export -f cached_wget |
|
|
export -f cached_wget |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ "$SOURCED" ] && return 0 |
|
|
[ "$SOURCED" ] && return 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trap_add "EXIT" clean_cache |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# if [[ "$UID" != 0 ]]; then |
|
|
# if [[ "$UID" != 0 ]]; then |
|
|
# die "'$exname' requires root permissions (for now). Please run as root." |
|
|
# die "'$exname' requires root permissions (for now). Please run as root." |
|
|
# fi |
|
|
# fi |
|
|