Skip to content

Commit fcf38be

Browse files
Always refer to scripts on the main branch
Authored-by: Owen Nelson <[email protected]>
1 parent 7f6f4d9 commit fcf38be

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ Talisman to be present, not only in your existing git repositories, but also in
9898
As a pre-commit hook:
9999

100100
```
101-
bash -c "$(curl --silent https://thoughtworks.github.io/talisman/scripts/install.bash)"
101+
bash -c "$(curl --silent https://raw.githubusercontent.com/thoughtworks/talisman/main/global_install_scripts/install.bash)"
102102
```
103103

104104
OR
105105

106106
As a pre-push hook:
107107

108108
```
109-
bash -c "$(curl --silent https://thoughtworks.github.io/talisman/scripts/install.bash)" -- pre-push
109+
bash -c "$(curl --silent https://raw.githubusercontent.com/thoughtworks/talisman/main/global_install_scripts/install.bash)" -- pre-push
110110
```
111111

112112

@@ -126,7 +126,7 @@ If you choose to set the `$PATH` later, please export TALISMAN\_HOME=$HOME/.tali
126126

127127
```bash
128128
# Download the talisman installer script
129-
curl https://thoughtworks.github.io/talisman/install.sh > ~/install-talisman.sh
129+
curl https://raw.githubusercontent.com/thoughtworks/talisman/main/install.sh > ~/install-talisman.sh
130130
chmod +x ~/install-talisman.sh
131131
```
132132

@@ -528,13 +528,13 @@ Run the following command on your terminal to uninstall talisman globally from y
528528
For pre-commit hook:
529529
530530
```
531-
bash -c "$(curl --silent https://thoughtworks.github.io/talisman/scripts/uninstall.bash)"
531+
bash -c "$(curl --silent https://raw.githubusercontent.com/thoughtworks/talisman/main/global_install_scripts/uninstall.bash)"
532532
```
533533
534534
For pre-push hook:
535535
536536
```
537-
bash -c "$(curl --silent https://thoughtworks.github.io/talisman/scripts/uninstall.bash)" -- pre-push
537+
bash -c "$(curl --silent https://raw.githubusercontent.com/thoughtworks/talisman/main/global_install_scripts/uninstall.bash)" -- pre-push
538538
```
539539
540540
This will

global_install_scripts/install.bash

+1
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ function run() {
177177
sed -e "s@\${TALISMAN_BINARY}@"${TALISMAN_SETUP_DIR}/${TALISMAN_BINARY_NAME}"@" ${TEMP_DIR}/talisman_hook_script.bash >${TALISMAN_HOOK_SCRIPT_PATH}
178178
chmod +x ${TALISMAN_HOOK_SCRIPT_PATH}
179179
add_talisman_home_as $TALISMAN_SETUP_DIR
180+
sudo ln -s "${TALISMAN_SETUP_DIR}/${TALISMAN_BINARY_NAME}" /usr/local/bin/talisman
180181
}
181182

182183
function setup_git_template_talisman_hook() {

0 commit comments

Comments
 (0)