We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5585908 commit cc4e05fCopy full SHA for cc4e05f
package/root/usr/local/sbin/pine64_update_package.sh
@@ -16,7 +16,6 @@ fi
16
17
DEVICE="/dev/mmcblk0"
18
URL="https://github.com/ayufan-pine64/linux-build/releases/download/$VERSION/linux-pine64-package-$VERSION.deb"
19
-CURRENTFILE="/var/lib/misc/pine64_update_package.status"
20
21
if [ "$(id -u)" -ne "0" ]; then
22
echo "This script requires root."
@@ -32,11 +31,6 @@ cleanup() {
32
31
}
33
trap cleanup EXIT INT
34
35
-CURRENT=""
36
-if [ -e "${CURRENTFILE}" ]; then
37
- CURRENT=$(cat $CURRENTFILE)
38
-fi
39
-
40
echo "Checking for update ..."
41
FILENAME=$TEMP/$(basename ${URL})
42
@@ -50,6 +44,4 @@ if [ -z "$MARK_ONLY" ]; then
50
44
echo "Done - you should reboot now."
51
45
else
52
46
echo "Mark only."
53
54
55
-echo $ETAG > "$CURRENTFILE"
47
+ficu
0 commit comments