FIXUPHACK 623 B

12345678910111213141516171819
  1. #current dir is inside packages-${DISTRO_FILE_PREFIX}/$GENERICNAME/ ...
  2. # that is: packages-woof/coreutils/
  3. #slackware post-install script stuffs things up...
  4. #note, 2createpackages renames slackware doinst.sh to pinstall.sh and moves
  5. # it to woof-unleashed/sandbox2b directory.
  6. #2createpackages will read this and not run the post-install script...
  7. DISABLE_POST_INSTALL_SCRIPT=yes
  8. #dunno why deb has to relocate 'head' in /usr/bin...
  9. if [ -f usr/bin/head ];then
  10. if [ ! -h usb/bin/head ];then #120516
  11. cp -a -f --remove-destination usr/bin/head bin/head
  12. rm -f usr/bin/head
  13. ln -s ../../bin/head usr/bin/head
  14. fi
  15. fi