BASH   45

ipkg install link

Guest on 25th May 2022 07:13:44 PM

  1. #!/bin/sh
  2. ipkg install -d hdd "$@" | tee ipkg-install-link-temp
  3. exec <ipkg-install-link-temp
  4. while read Configuring PACKAGE ; do
  5.     if test "$Configuring" = Configuring ; then
  6.         ipkg-link add $PACKAGE
  7.     fi
  8. done
  9. rm ipkg-install-link-temp

Raw Paste


Login or Register to edit or fork this paste. It's free.