Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Ln# 703-713 of /usr/local/petget/installpkg.sh (tahrpup) - http://www.pearltrees.com/s243a/installpkg-sh-usr-local-petget/id20402080/item224201776
- #due to images at / in .pet and post-install script, .files may have some invalid entries...
- INSTFILES="`cat /root/.packages/${DLPKG_NAME}.files`"
- echo "$INSTFILES" |
- while read ONEFILE
- do
- if [ ! -e "$ONEFILE" ];then
- ofPATTERN='^'"$ONEFILE"'$'
- grep -v "$ofPATTERN" /root/.packages/${DLPKG_NAME}.files > /tmp/petget_instfiles
- mv -f /tmp/petget_instfiles /root/.packages/${DLPKG_NAME}.files
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment