Advertisement
Guest User

Untitled

a guest
May 21st, 2011
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.88 KB | None | 0 0
  1. --- woof-tree-orig/0setup   2011-05-21 08:18:42.773719364 +0800
  2. +++ woof-tree/0setup    2011-05-21 11:11:13.769718387 +0800
  3. @@ -217,6 +217,11 @@ do
  4.      puppy)
  5.       RETSTAT=0
  6.      ;;
  7. +    scientific)
  8. +     xDLFILE="`basename $DLFILE .gz`"
  9. +     gunzip $DLFILE
  10. +     RETSTAT=$?
  11. +     [ $RETSTAT -eq 0 ] && mv -f $xDLFILE ${PKGLISTFILE}pre
  12.     esac
  13.     if [ $RETSTAT -eq 0 ];then
  14.      echo "...success."
  15. @@ -415,6 +420,13 @@ _END1
  16.    puppy)
  17.     echo "...it's already in the Puppy standard format."
  18.    ;;
  19. +  scientific)
  20. +   [ -f $ONE_PKGLISTS_COMPAT ] && rm -f $ONE_PKGLISTS_COMPAT
  21. +    ./rpm2ppm ${ONE_PKGLISTS_COMPAT}pre $ONE_PKGLISTS_COMPAT $DISTRO_BINARY_COMPAT $DISTRO_COMPAT_VERSION
  22. +   temp_file=`mktemp -u`
  23. +    cat $ONE_PKGLISTS_COMPAT | sort | uniq > $temp_file
  24. +    mv $temp_file $ONE_PKGLISTS_COMPAT
  25. +  ;;
  26.   esac
  27.   echo
  28.   #rm -f ${ONE_PKGLISTS_COMPAT}pre 2>/dev/null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement