#!/bin/sh ## This runs apt-get command and display return value. ## Because gksu doesn't pass return value of executed command. eval apt-get install --quiet $@ echo "RETURN_VALUE_OF_CHILD:"$?