fix(deck): Remove askpass invokation from zram-resize

The terminal will prompt for this
This commit is contained in:
RJ Trujillo 2023-10-23 13:58:52 -06:00 committed by GitHub
parent f01799625e
commit 2c20dee969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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