Fix mkdir in reset

This commit is contained in:
LinuxSquare 2024-01-06 16:07:29 +01:00
parent 6f1205c306
commit 2c664f3c06
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# CONSTANTS
readonly PKGVER="0.2.1"
readonly PKGVER="0.2.2"
readonly LICENSE="GNU AGPLv3"
readonly ROOTPATH="$(dirname $(readlink -f $(which $0)))"
readonly TEMPLATEDIR="${ROOTPATH}/.template"

View file

@ -34,7 +34,7 @@ function reset() {
done
rm -rf "$dir/data"
mkdir "$dir/data/world/datapacks"
mkdir -p "$dir/data/world/datapacks"
if [[ "$backedup" == true ]]; then
while [[ ! $restoreDatapacksAns =~ [YyNn] ]]; do