feat(lib-db): Don't add linebreaks for new lib-db values.

This commit is contained in:
purple 2023-11-01 13:44:24 +01:00
parent dca1cc741e
commit 17aa341c46

View file

@ -7,7 +7,7 @@ FLDR=$BLUEPRINT__FOLDER"/.blueprint/data/internal/db/database"
dbAdd() {
# dbAdd "database.record";
sed -i "s/+ db.addnewrecord;/* ${1};\n+ db.addnewrecord;/g" $FLDR > /dev/null;
sed -i "s/+ db.addnewrecord;/* ${1};+ db.addnewrecord;/g" $FLDR > /dev/null;
}; dbValidate() {
# dbValidate "database.record";
grep -Fxq "* ${1};" $FLDR > /dev/null;