diff --git a/package/base/coreutils/coreutils.conf b/package/base/coreutils/coreutils.conf index cd26a8653..27f1fc4ab 100644 --- a/package/base/coreutils/coreutils.conf +++ b/package/base/coreutils/coreutils.conf @@ -43,6 +43,10 @@ coreutils_postmake() { done rm -f $root/usr/bin/ginstall ln -s install $root/usr/bin/ginstall + + echo '#!/usr/bin/perl' > $root/usr/bin/shuffle + echo '$_{rand()." ".$_}=1 while(<>);foreach(keys%_){s/^\S+ //;print;}' >> $root/usr/bin/shuffle + chmod +x $root/usr/bin/shuffle } if [ $stagelevel -ge 3 -a -f $root/var/adm/flists/acl ]; then