Guest User


a guest
Oct 13th, 2016
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. dir="/tmp/dpkg-get"
  3. url="$1"
  4. file="${url##*/}"
  6. if [ "$EUID" -ne 0 ]
  7. then
  8. echo "Please run as root"
  9. exit
  10. fi
  12. [ -d $dir ] || mkdir $dir
  13. wget -q --show-progress -O "$dir/$file" $url && \
  14. dpkg -i "$dir/$file"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.