Advertisement
s243a

installpkg.sh #LN# 122 to 124 - get pkg name

Apr 21st, 2018
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. #get the pkg name ex: scite-1.77 ... #LN# 122 to 124 of /usr/local/petget/installpkg.sh (tahrpup) - http://www.pearltrees.com/s243a/installpkg-sh-usr-local-petget/id20402080
  2. dbPATTERN='|'"$DLPKG_BASE"'|'
  3. DLPKG_NAME="`cat /tmp/petget_missing_dbentries-Packages-* | grep "$dbPATTERN" | head -n 1 | cut -f 1 -d '|'`"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement