Imported usable scripts from the private temporary repository

This commit is contained in:
Michele Cereda
2021-10-17 00:28:37 +02:00
parent 5ed40301f3
commit 9666a6a9c4
23 changed files with 311 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
[[ $DEBUG ]] && set -x
: ${REPO_URL:?not set}
DESTINATION_DIR="${DESTINATION_DIR:-$PWD}"
git clone --no-checkout \
"${REPO_URL}" \
"${DESTINATION_DIR}/${REPO_URL##*/}"
cd "${DESTINATION_DIR}/${REPO_URL##*/}"
keybase git lfs-config
git checkout --force HEAD
cd -
[[ $DEBUG ]] && set +x

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env sh
# https://keybase.io/docs/the_app/install_linux
curl https://prerelease.keybase.io/keybase_amd64.deb \
--output /tmp/keybase_amd64.deb \
--silent
LC_ALL='C' sudo apt install --assume-yes /tmp/keybase_amd64.deb
rm keybase_amd64.deb
run_keybase
# sudo dnf install --assumeyes https://prerelease.keybase.io/keybase_amd64.rpm
# sudo yum install --assumeyes https://prerelease.keybase.io/keybase_amd64.rpm

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env sh
export \
KEYBASE_USERNAME="${KEYBASE_USERNAME:?not set}" \
KEYBASE_PAPERKEY="${KEYBASE_PAPERKEY:?not set}"
source install.sh
run_keybase
keybase oneshot
keybase git list