diff --git a/script/solve_wget b/script/solve_wget index 12ed4814313e8c651021e2193a34dc989ebe425d..83bffa82916e7d0664db6fbb3c6bb4df2efccd3b 100755 --- a/script/solve_wget +++ b/script/solve_wget @@ -14,8 +14,9 @@ if [ x"$1" = x"osx" ]; then commands[0]="$pcman install wget" possible_solutions "${commands[@]}" elif [ x"$1" = x"linux" ]; then - commands[0]="su -c \"$pcman install wget\"" - commands[1]="sudo $pcman install wget" + pc_install_command $pcman + commands[0]="su -c \"$pc_install_command_ret wget\"" + commands[1]="sudo $pc_install_command_ret wget" possible_solutions "${commands[@]}" fi }