ask-save-zram1 path fix
The desktop "save" icon runs script 'ask-save-zram1'; however, in an earlier version of EasyOS I moved the script from /usr/bin to /usr/sbin. Normally, we don't hardcode the path when run an executable file, but in /root/Choices/ROX-Filer/PuppyPin they are hardcoded. If updating from an earlier version of Easy, the PuppyPin file might have the old /usr/bin path, which means that the "save" icon won't work.
I had advised people to fix that by copying ask-save-zram1 from /usr/sbin to /usr/bin, which does fix it, but in the future the /usr/sbin/ask-save-zram1 script may change.
So, it needs to be fixed properly. I have edited /sbin/fixlayers
script in the initrd, so fixes the path to ask-save-zram1 in
PuppyPin, PuppyPinBACKUP and globicons files. So now when a user
does a version update from before that ask-save-zram1 got moved,
it is handled and the problem has gone away.
Tags: easy