2 topdir
=$
(readlink
-nf $
(dirname $0)/..
2>/dev
/null ||
(cd $
(dirname $0)/..
; pwd -P))
4 mkdir
-p $topdir/target
/packages
/pkg-enabled
6 for i
in $
(ls $topdir/target
/packages
/pkg-available
/);do
7 cd $topdir/target
/packages
/pkg-enabled
&&
8 ln -sf ..
/pkg-available
/$i $count-$i