mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-15 03:40:49 +01:00
Only reindent.
This commit is contained in:
parent
29722fe22e
commit
9eeb9fcbdd
1 changed files with 309 additions and 311 deletions
|
@ -142,9 +142,7 @@ function checkmd5() {
|
||||||
|
|
||||||
PREPO=$(echo $1 | rev | cut -f3 -d/ | rev)
|
PREPO=$(echo $1 | rev | cut -f3 -d/ | rev)
|
||||||
|
|
||||||
MD5ORIGINAL=$( grep -v "/source/" ${CHECKSUMSFILE} |\
|
MD5ORIGINAL=$(grep -v "/source/" ${CHECKSUMSFILE} | grep -w $PREPO | grep -m1 "/$(basename $1)$" | cut -f1 -d \ )
|
||||||
grep -w $PREPO |\
|
|
||||||
grep -m1 "/$(basename $1)$" | cut -f1 -d \ )
|
|
||||||
MD5DOWNLOAD=$(md5sum ${1} | cut -f1 -d \ )
|
MD5DOWNLOAD=$(md5sum ${1} | cut -f1 -d \ )
|
||||||
if [ "$MD5ORIGINAL" = "$MD5DOWNLOAD" ]; then
|
if [ "$MD5ORIGINAL" = "$MD5DOWNLOAD" ]; then
|
||||||
echo 1
|
echo 1
|
||||||
|
|
Loading…
Reference in a new issue