pmaports w/ reMarkable 1 packages
Find a file
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
.gitlab-ci CI: use a single invocation for apkbuild linting (MR 2472) 2021-09-11 06:40:21 +03:00
cross cross/busybox-static-*: upgrade to 1.34.0-r3 2021-09-12 19:21:24 +02:00
device pine64-pinephone: fix pre-upgrade script (MR 2512) 2021-09-12 22:29:14 +02:00
main main/linux-postmarketos-allwinner: fix checksums 2021-09-11 22:35:47 +02:00
modem msm-modem-uim-selection: Don't wait for SIM (MR 2470) 2021-08-30 21:15:17 -07:00
non-free/sgx-ddk-um non-free/sgx-ddk-um: new aport (MR 1868) 2021-02-23 22:10:12 +01:00
temp temp/eg25-manager: drop, upstreamed to Alpine (MR 2485) 2021-09-08 11:04:42 +02:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.editorconfig Add editorconfig file from Alpine 2018-11-27 07:47:11 +01:00
.gitignore gitignore: add 'src/' dir created when running abuild manually (MR 2450) 2021-08-21 20:30:46 +02:00
.gitlab-ci.yml CI: shellcheck: remove apk upgrade command (MR 2511) 2021-09-12 18:55:12 +02:00
.mrhlpr.json mrhlpr.json: change suffix in commit names (MR 1146) 2020-04-12 03:52:48 +03:00
channels.cfg channels.cfg: mark v21.03 as unsupported (MR 2424) 2021-08-10 11:33:48 -07:00
CODEOWNERS add sxmo maintainers to pinephone codeowners (MR 2211) 2021-06-01 13:25:57 +03:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: set pmbootstrap_min_version to 1.37.0 (MR 2426) 2021-09-03 10:29:07 -07:00
README.md README: small updates to links 2021-09-01 03:11:51 +03:00