Skip to content

Commit

Permalink
Another attempt to fix #9
Browse files Browse the repository at this point in the history
quotes are very important in bash. avoiding conflicts between two scripts
  • Loading branch information
danimesq committed Feb 9, 2022
1 parent f65c81a commit df8906a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .gitmeta
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
chown -h 1000:1000 './.gitmeta'
chmod 0755 './.gitmeta'
/usr/bin/touch -hcmd "2022-02-09 11:42:01.7700000000 -0300" './.gitmeta'
/usr/bin/touch -hcad "2022-02-09 11:40:00.0000000000 -0300" './.gitmeta'
/usr/bin/touch -hcmd "2022-02-09 11:48:27.9100000000 -0300" './.gitmeta'
/usr/bin/touch -hcad "2022-02-09 11:42:00.0000000000 -0300" './.gitmeta'
chown -h 1000:1000 './recipe.json'
chmod 0755 './recipe.json'
/usr/bin/touch -hcmd "2021-11-10 16:35:54.1000000000 -0300" './recipe.json'
/usr/bin/touch -hcad "2022-02-09 11:22:36.0000000000 -0300" './recipe.json'
chown -h 1000:1000 './sample_updates_3-5.sh'
chmod 0755 './sample_updates_3-5.sh'
/usr/bin/touch -hcmd "2022-02-09 11:40:45.0400000000 -0300" './sample_updates_3-5.sh'
/usr/bin/touch -hcad "2022-02-09 11:41:08.0000000000 -0300" './sample_updates_3-5.sh'
chown -h 1000:1000 './updates.sh'
chmod 0755 './updates.sh'
/usr/bin/touch -hcmd "2022-02-09 11:40:39.9400000000 -0300" './updates.sh'
/usr/bin/touch -hcad "2022-02-09 11:41:08.0000000000 -0300" './updates.sh'
/usr/bin/touch -hcmd "2022-02-09 11:46:48.9700000000 -0300" './sample_updates_3-5.sh'
/usr/bin/touch -hcad "2022-02-09 11:47:08.0000000000 -0300" './sample_updates_3-5.sh'
2 changes: 1 addition & 1 deletion sample_updates_3-5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fi

if [ "$1" = "apply4" ]; then
# --------------##########---------------------- This checks for update 4 and does its specific actions
if [ $(jq -r '.patch_at' /usr/lib/web3updater/update.json) -ge 4 ]; then
if [ "$(jq -r '.patch_at' /usr/lib/web3updater/update.json)" -ge 4 ]; then
recentlycheckedat=$(date +"%s")
contents="$(jq ".recently_checked_at = \"$recentlycheckedat\"" update.json)" && \
echo "${contents}" > update.json
Expand Down

0 comments on commit df8906a

Please sign in to comment.