mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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..."
|
echo "image: compressing..."
|
||||||
gzip $DISK
|
gzip $DISK
|
||||||
|
|
||||||
|
# set owner
|
||||||
|
if [ -n "$SUDO_USER" ] ; then
|
||||||
|
chown $SUDO_USER: $DISK.gz
|
||||||
|
fi
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
cleanup
|
cleanup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user