testing sed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "duplicacy",
|
||||
"version": "20201117.3",
|
||||
"version": "20201117.4",
|
||||
"slug": "duplicacy",
|
||||
"description": "Duplicacy backup",
|
||||
"arch": ["armhf", "armv7"],
|
||||
|
||||
@@ -17,6 +17,9 @@ FILTERS=$(jq --raw-output ".filters" $CONFIG_PATH)
|
||||
# create the filters file
|
||||
touch /.duplicacy/filters
|
||||
|
||||
# test
|
||||
sed --help
|
||||
|
||||
# edit the /.duplicacy/preferences file
|
||||
sed --in-place 's/<BACKUP_ID>/'${BACKUP_ID}'/' /.duplicacy/preferences
|
||||
sed --in-place 's/<PROTOCOL>/'${PROTOCOL}'/' /.duplicacy/preferences
|
||||
|
||||
Reference in New Issue
Block a user