mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-09 13:15:37 +03:00
16 lines
431 B
Bash
Executable File
16 lines
431 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#This hook launches after a git pull. It cannot affect a git merge, and will not
|
|
#be executed if a merge fails
|
|
#See https://git-scm.com/docs/githooks#_post_merge
|
|
|
|
if [[ -L "$0" ]]; then
|
|
#If our launched script is a link, grab the root
|
|
hookRoot="$(dirname $(readlink --canonicalize $0))"
|
|
else
|
|
#Otherwise use the launched script directory
|
|
hookRoot="$(dirname "$0")"
|
|
fi
|
|
|
|
"${hookRoot}/update_editor.sh" $0
|