Only chown if root
If apk is run as a non root user, it's not possible to do a chown and then the chmod isn't needed either.
Signed-off-by: Fredrik Gustafsson fredrigu@axis.com
If apk is run as a non root user, it's not possible to do a chown and then the chmod isn't needed either.
Signed-off-by: Fredrik Gustafsson fredrigu@axis.com