Add parametr -p for mkdir

This commit is contained in:
CodeRoK7
2025-02-27 11:36:59 +05:00
committed by GitHub
parent afc6b263e0
commit 1de249731e

View File

@@ -30,7 +30,7 @@ opkg upgrade luci-app-youtubeUnblock
if [ ! -d "$DIR_BACKUP" ]
then
echo "Backup files..."
mkdir $DIR_BACKUP
mkdir -p $DIR_BACKUP
for file in $config_files
do
cp -f "$DIR/$file" "$DIR_BACKUP/$file"