Fixed variables system -fix2

This commit is contained in:
XargonWan 2022-09-19 09:28:58 +02:00 committed by GitHub
parent a3ae392226
commit 66dc991ae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,11 @@ conf_write() {
sed -i "s%themes_folder=.*%themes_folder=$themes_folder%" "$rd_conf"
fi
if [ ! -z "$sdcard" ]
then
sed -i "s%sdcard=.*%sdcard=$sdcard%" "$rd_conf"
fi
echo "DEBUG: New contents:"
cat "$rd_conf"
echo ""