diff options
author | WithTheBraid | 2022-06-28 08:41:01 +0200 |
---|---|---|
committer | WithTheBraid | 2022-06-28 08:41:01 +0200 |
commit | 530505f15feb21daf2a30effe3f5d1dedf76fd44 (patch) | |
tree | 225932c2659b400a53704963b761d0acf88bee60 /PKGBUILD | |
parent | ab74cfdd9d5e7f68ccf754d09c09990aff1072d7 (diff) | |
download | aur-530505f15feb21daf2a30effe3f5d1dedf76fd44.tar.gz |
fix: missing write-permission on hash files
- make particular cache files read-write for end-users
Signed-off-by: WithTheBraid <the-one@with-the-braid.cf>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -37,6 +37,7 @@ package() { "${pkgdir}/opt/${pkgname}/bin/flutter" precache find "${pkgdir}/opt/${pkgname}" -type d -exec chmod a+rx {} + find "${pkgdir}/opt/${pkgname}" -type f -exec chmod a+r {} + - chmod a+rw "${pkgdir}/opt/${pkgname}/version" + # those files *must* be read-write for end-users + chmod a+rw "${pkgdir}/opt/${pkgname}/version" "${pkgdir}/opt/${pkgname}/bin/cache/lockfile" "${pkgdir}/opt/${pkgname}/bin/cache/usbmuxd.stamp" "${pkgdir}/opt/${pkgname}/bin/cache/libmobiledevice.stamp" ln -s "/opt/${pkgname}/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" } |