Fixed variables system -fix2

This commit is contained in:
XargonWan 2022-09-19 09:28:58 +02:00 committed by GitHub
parent 7765a8692c
commit 23ec671bd0

View file

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