debug: setup.sh debugging
This commit is contained in:
parent
fbc7ba3e21
commit
95064bdc63
1 changed files with 6 additions and 2 deletions
8
setup.sh
8
setup.sh
|
|
@ -3,17 +3,21 @@
|
|||
set -eo pipefail
|
||||
|
||||
# running in guest
|
||||
|
||||
echo "hmmm"
|
||||
guest_name="$(qubesdb-read /name)"
|
||||
|
||||
echo "hmmmmmm"
|
||||
echo $(realpath ""$0"")
|
||||
guest_repo_dir="$(dirname $(realpath ""$0""))"
|
||||
echo $guest_repo_dir
|
||||
echo "hmmmmmm"
|
||||
pushd ${guest_repo_dir} >/dev/null
|
||||
|
||||
if git remote | grep -Fq 'dom0'; then
|
||||
echo "(${guest_name}) remote 'dom0' already exists" >&2
|
||||
else
|
||||
echo "(${guest_name}) setting up remote 'dom0' to pull changes via bundle" >&2
|
||||
echo "ehhh"
|
||||
echo ${guest_repo_dir}
|
||||
git remote add dom0 ${guest_repo_dir}/.bundles/dom0.bundle
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue