Don't try to remove files from installer-* directories

Those are never copied into live-build's config directory and actually
the "packages" file is clashing with a "packages" directory which results
in a failure of the "rm -f" call.
merge-requests/16/head
Raphaël Hertzog 5 years ago
parent efa2a2b697
commit 7cfe799267

@ -98,7 +98,7 @@ esac
# Setup configuration files from variant and options # Setup configuration files from variant and options
# Drop all files that a former run might have put into place # Drop all files that a former run might have put into place
for file in $(cd kali-config && find . -type f); do for file in $(cd kali-config && find ./common ./variant-* -type f); do
file=${file#./*/} file=${file#./*/}
rm -f config/$file rm -f config/$file
done done

Loading…
Cancel
Save