mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/mkimage: change image owner back to the calling user
This commit is contained in:
parent
fc8f8082ea
commit
b20d36e3e0
@ -299,5 +299,10 @@ fi # bootloader
|
||||
echo "image: compressing..."
|
||||
gzip $DISK
|
||||
|
||||
# set owner
|
||||
if [ -n "$SUDO_USER" ] ; then
|
||||
chown $SUDO_USER: $DISK.gz
|
||||
fi
|
||||
|
||||
# cleanup
|
||||
cleanup
|
||||
|
Loading…
x
Reference in New Issue
Block a user