summaryrefslogtreecommitdiff
path: root/src/upgrade.c
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrigu@axis.com>2019-11-19 12:07:44 +0100
committerTimo Teräs <timo.teras@iki.fi>2019-11-22 14:41:55 +0200
commitcfa8b736f897b9bf8906dd38538f6058a5ad2ba6 (patch)
tree0594e2596920aca8908d767c2f48709a803b2857 /src/upgrade.c
parent7f80a936b21a33f447beccf666038d083aba04ba (diff)
downloadapk-tools-cfa8b736f897b9bf8906dd38538f6058a5ad2ba6.tar.gz
apk-tools-cfa8b736f897b9bf8906dd38538f6058a5ad2ba6.tar.bz2
apk-tools-cfa8b736f897b9bf8906dd38538f6058a5ad2ba6.tar.xz
apk-tools-cfa8b736f897b9bf8906dd38538f6058a5ad2ba6.zip
Don't unpack files to system root
When unpacking a file that is in root, it got a temporary file name /.apk... however if the --root option was used it should have the name root/.apk... otherwise unpacking will fail if the user does not have write access to /. Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Diffstat (limited to 'src/upgrade.c')
0 files changed, 0 insertions, 0 deletions