mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-12-01 10:05:41 +00:00
Fixed variables system -fix2
This commit is contained in:
parent
7765a8692c
commit
23ec671bd0
|
@ -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 ""
|
||||||
|
|
Loading…
Reference in a new issue