Skip to content

Commit

Permalink
Merge pull request #8 from pine64dev/master
Browse files Browse the repository at this point in the history
Add missing "CURRENTFILE" variable content
  • Loading branch information
ayufan authored May 9, 2017
2 parents 3d47d3f + 5b7f403 commit 054d3c4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions package/root/usr/local/sbin/pine64_update_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ cleanup() {
}
trap cleanup EXIT INT

CURRENT=""
if [ -e "${CURRENTFILE}" ]; then
CURRENT=$(cat $CURRENTFILE)
fi

echo "Checking for update ..."
FILENAME=$TEMP/$(basename ${URL})

Expand All @@ -50,5 +45,3 @@ if [ -z "$MARK_ONLY" ]; then
else
echo "Mark only."
fi

echo $ETAG > "$CURRENTFILE"

0 comments on commit 054d3c4

Please sign in to comment.