update-pkg 303 B

12345678
  1. #!/usr/bin/env bash
  2. # create package collection Config.in file
  3. topdir=$(readlink -nf $(dirname $0)/.. 2>/dev/null || (cd $(dirname $0)/..; pwd -P))
  4. if [ -d "$topdir/target/packages/pkg-enabled" ];then
  5. cat $topdir/target/packages/pkg-enabled/* > $topdir/target/packages/Config.in 2>/dev/null
  6. fi
  7. exit 0