diff --git a/blueprint/data/internal/db/database b/blueprint/data/internal/db/database index 18f75a4..500ea4c 100644 --- a/blueprint/data/internal/db/database +++ b/blueprint/data/internal/db/database @@ -1,2 +1 @@ # Internal database for the bash side of Blueprint. -+ db.addnewrecord; \ No newline at end of file diff --git a/blueprint/lib/db.sh b/blueprint/lib/db.sh index 11321fc..224b866 100644 --- a/blueprint/lib/db.sh +++ b/blueprint/lib/db.sh @@ -7,7 +7,7 @@ FLDR=$BLUEPRINT__FOLDER"/.blueprint/data/internal/db/database" dbAdd() { # dbAdd "database.record"; - sed -i "s/+ db.addnewrecord;/* ${1};+ db.addnewrecord;/g" $FLDR > /dev/null; + echo "* ${1};" >> $FLDR }; dbValidate() { # dbValidate "database.record"; grep -Fxq "* ${1};" $FLDR > /dev/null;