Skip to content

Commit 054d3c4

Browse files
authored
Merge pull request #8 from pine64dev/master
Add missing "CURRENTFILE" variable content
2 parents 3d47d3f + 5b7f403 commit 054d3c4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

package/root/usr/local/sbin/pine64_update_package.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ cleanup() {
3131
}
3232
trap cleanup EXIT INT
3333

34-
CURRENT=""
35-
if [ -e "${CURRENTFILE}" ]; then
36-
CURRENT=$(cat $CURRENTFILE)
37-
fi
38-
3934
echo "Checking for update ..."
4035
FILENAME=$TEMP/$(basename ${URL})
4136

@@ -50,5 +45,3 @@ if [ -z "$MARK_ONLY" ]; then
5045
else
5146
echo "Mark only."
5247
fi
53-
54-
echo $ETAG > "$CURRENTFILE"

0 commit comments

Comments
 (0)