Skip to content

Commit

Permalink
Add .chezmoiscripts/run_jira.sh
Browse files Browse the repository at this point in the history
Update .chezmoiscripts/run_todo.sh
Add dot_local/share/justmiles-bootstrapping/empty__utility.sh
Rename .chezmoiscripts/run_basic_tools.sh to .chezmoiscripts/run_before_basic_tools.sh
  • Loading branch information
justmiles committed Jul 19, 2022
1 parent f7bb7bf commit ef77c76
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
File renamed without changes.
18 changes: 18 additions & 0 deletions .chezmoiscripts/run_jira.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

my_dir="$(dirname "$0")"
"$my_dir/_utility.sh"

SCRIPT=$(basename $0 | awk -F '.' '{print $2}')
OS=$(cat /etc/os-release | grep "^ID=" | awk -F '=' '{print $2}')

exec > >(trap "" INT TERM; sed "s/^/${SCRIPT}: /")
exec 2> >(trap "" INT TERM; sed "s/^/${SCRIPT}: (stderr) /" >&2)

which jira > /dev/null 2>/dev/null
[ $? -eq 0 ] && [ ! "$FORCE_REINSTALL" = "y" ] && exit 0
echo "installing $SCRIPT"

################################################################
set -e

2 changes: 1 addition & 1 deletion .chezmoiscripts/run_todo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ TODO: install the following packages
- tfwitch
- drone-cli
- java?
- jira
EOF
Empty file.

0 comments on commit ef77c76

Please sign in to comment.