Advertisement
s243a

dpkg (wrapper)

Jul 29th, 2018
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. #!/bin/sh
  2. # based on my dropbox wrap script http://www.murga-linux.com/puppy/viewtopic.php?t=99253&
  3. # Wrapps calls to the busybox dpkg so that it is compatible with the standard debian version.
  4. ARGS=()
  5. for x in $@; do
  6. case "$x" in
  7.  -L)
  8.     ARGS+=('-l')
  9.  ;; #remove all options
  10.  *)ARGS+=($X)
  11. esac
  12. done
  13. dpkg ${ARGS[*]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement