pmaports/device/main
Oliver Smith 62453b9e7d
pine64-pinephone: fix pre-upgrade script (MR 2512)
Use -f, so rm
* does not complain if the file does not exist
* does not exit with 1 if the file does not exist

Remove the stdout/stderr redirect (not needed with -f).

Add exit 0 at the end of the file, even though it clearly should not
exit with anything other than 0 anymore, as it's common practice in
these pre-upgrade etc. scripts.

With the old script, the problem was that it would exit 1 as soon as the
files did not exist at the time the script runs. Exit 1 in this
pre-upgrade script causes apk to show an error, and it would not go away
with 'apk fix' since it ran into the same problem.

Fixes: 7c511d ("pine64-pinephone: remove old u-boot...")
2021-09-12 22:29:14 +02:00
..
device-pine64-pinephone pine64-pinephone: fix pre-upgrade script (MR 2512) 2021-09-12 22:29:14 +02:00
device-purism-librem5 device-*: don't use 'flavor' in kernel/initramfs names (MR 2426) 2021-09-03 10:29:07 -07:00
device-qemu-aarch64 device-qemu-*: add evdev module to initfs (MR 2463) 2021-08-26 13:49:57 -07:00
device-qemu-amd64 device-qemu-*: add evdev module to initfs (MR 2463) 2021-08-26 13:49:57 -07:00
firmware-pine64-ov5640 pine64-pinephone: move from community to main (MR 1752) 2020-12-02 02:30:13 +01:00
firmware-pine64-rtl8723bt pine64-pinephone: move from community to main (MR 1752) 2020-12-02 02:30:13 +01:00
linux-purism-librem5 linux-*: bump pkgrel for kernels that use downstreamkernel_package (MR 2426) 2021-09-03 10:29:07 -07:00