update to dpkg function
This commit is contained in:
parent
d1a4a81894
commit
84953f3843
2 changed files with 6 additions and 3 deletions
2
udeps.sh
2
udeps.sh
|
@ -5,7 +5,7 @@ function dpkg_url() {
|
|||
local src_url=$1
|
||||
local args=${@:2}
|
||||
|
||||
wget -O $tmp_deb $src_url &&
|
||||
wget -q --show-progress -O $tmp_deb $src_url &&
|
||||
sudo dpkg -i $tmp_deb $args &&
|
||||
{ rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file
|
||||
{ rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue