diff --git a/scripts/package.sh b/scripts/package.sh index f2d86ff7..ce7e00c1 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -24,7 +24,7 @@ mkdir -p dist cp -r webapp riot-$version # Just in case you have a local config, remove it before packaging -rm riot-$version/config.json +rm riot-$version/config.json || true # if $version looks like semver with leading v, strip it before writing to file if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then