We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f262efa commit f5440b4Copy full SHA for f5440b4
awsup.sh
@@ -1,14 +1,14 @@
1
#!/usr/bin/env bash
2
#
3
-# https://github.com/flashbots/.aws
+# https://github.com/flashbots/awsup
4
5
6
7
set -eo pipefail
8
echo "🆙 Starting awsup..."
9
10
TARGET_DIR="${HOME}/.aws"
11
-REPO_URL="https://github.com/flashbots/.aws.git"
+REPO_URL="https://github.com/flashbots/awsup.git"
12
13
DATE=$(date +%Y-%m-%d_%H-%M-%S)
14
BACKUP_DIR="${TARGET_DIR}/backup-${DATE}"
@@ -40,8 +40,8 @@ handle_installation() {
40
41
git clone "${REPO_URL}" > /dev/null 2>&1
42
43
- rm -rf .aws/.git
44
- cp -r .aws/* "${TARGET_DIR}/"
+ rm -rf awsup/.git
+ cp -r awsup/* "${TARGET_DIR}/"
45
46
if [[ "$OSTYPE" == "darwin"* ]]; then
47
sed -i '' "s|/Users/anton/|$HOME/|g" "${TARGET_DIR}/credentials"
0 commit comments