From 090397a59b14a6abb6e096b629a066f85e93eae8 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 31 Oct 2018 14:33:20 -0700 Subject: [PATCH] Remove unnecessary scripts --- .../disk-usage.sh | 18 ------------------ scripts/start-backup | 18 ------------------ 2 files changed, 36 deletions(-) delete mode 100755 scripts/features/2193-migrate-attachments-on-startup/disk-usage.sh delete mode 100755 scripts/start-backup diff --git a/scripts/features/2193-migrate-attachments-on-startup/disk-usage.sh b/scripts/features/2193-migrate-attachments-on-startup/disk-usage.sh deleted file mode 100755 index ffde28a24..000000000 --- a/scripts/features/2193-migrate-attachments-on-startup/disk-usage.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -ROOT=$1 - -if [[ "$1" == "" ]]; then - echo "Usage: $(basename "$0") " - exit 1 -fi - -while true -do - echo -n "$(date -u +"%Y-%m-%dT%H:%M:%SZ ")" - du -sm "$ROOT/attachments.noindex" - - echo -n "$(date -u +"%Y-%m-%dT%H:%M:%SZ ")" - du -sm "$ROOT/IndexedDB" - - sleep 1 -done diff --git a/scripts/start-backup b/scripts/start-backup deleted file mode 100755 index f42bf6e7a..000000000 --- a/scripts/start-backup +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -if [[ "$BACKUP" == "" ]]; then - echo "BACKUP environment variable is required" - exit 1 -fi - -if [[ "$PROFILE" == "" ]]; then - echo "PROFILE environment variable is required" - exit 1 -fi - -backupPath="$HOME/Library/Application Support/Signal-$BACKUP" -profilePath="$HOME/Library/Application Support/Signal-$PROFILE" - -rm -rf "$profilePath" && \ - cp -R "$backupPath" "$profilePath" && \ - NODE_APP_INSTANCE="$PROFILE" yarn start