Kindle: Make sure Device:untar actually works

The fuse proxy strikes again... Fix #9704
pull/9710/head
NiLuJe 2 years ago
parent f08f6fc0bf
commit c740ee3174

@ -368,6 +368,11 @@ function Kindle:readyToSuspend()
self.suspend_time = time.boottime_or_realtime_coarse()
end
-- We add --no-same-permissions --no-same-owner to make the userstore fuse proxy happy...
function Kindle:untar(archive, extract_to)
return os.execute(("./tar --no-same-permissions --no-same-owner -xf %q -C %q"):format(archive, extract_to))
end
function Kindle:setEventHandlers(UIManager)
UIManager.event_handlers.Suspend = function()
self.powerd:toggleSuspend()

Loading…
Cancel
Save