mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-05 06:39:54 +00:00
fix(deck): Remove askpass invokation from zram-resize
The terminal will prompt for this
This commit is contained in:
parent
f01799625e
commit
2c20dee969
@ -362,7 +362,7 @@ resize-zram:
|
||||
if grep -q "zram-size" <<< $(cat ${CONFIG}); then
|
||||
sudo sed -i 's/zram-size='${CURRENT_SIZE}'/zram-size='${NEW_SIZE}'/g' ${CONFIG}
|
||||
else
|
||||
sudo -A echo "zram-size=${NEW_SIZE}" >> ${CONFIG}
|
||||
sudo echo "zram-size=${NEW_SIZE}" >> ${CONFIG}
|
||||
fi
|
||||
echo 'Current size: '${NEW_SIZE}'. Please reboot.'
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user