mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
Removed check on folder creation
The check is not needed as if mkdir finds the oqth just does nothing.
This commit is contained in:
parent
22907250ae
commit
30c690f885
|
@ -67,10 +67,8 @@ conf_write() {
|
|||
# If there is no config file I initalize the file with the the default values
|
||||
if [ ! -f "$rd_conf" ]
|
||||
then
|
||||
if [ ! -d /var/config/retrodeck ] # Check if the RetroDECK config directory exists
|
||||
then
|
||||
mkdir -p /var/config/retrodeck
|
||||
fi
|
||||
|
||||
mkdir -p /var/config/retrodeck
|
||||
echo "RetroDECK config file not found in $rd_conf"
|
||||
echo "Initializing"
|
||||
touch $rd_conf
|
||||
|
@ -104,4 +102,4 @@ else
|
|||
echo "Found RetroDECK config file in $rd_conf"
|
||||
echo "Loading it"
|
||||
source "$rd_conf"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue