Skip to content

Commit

Permalink
Moved QA scripts out of RPM-included directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zenmonkeykstop committed Oct 27, 2020
1 parent 40cb154 commit 3d16c1e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/qa-switch.sh → utils/qa-switch.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/bash

#
# Updates pre-consolidation templates and dom0 to use QA repos.
# Updates securedrop templates and dom0 to use QA repos and
# template-consolidation component.
#
# As root, untar the archive containing this script in /srv/salt, then run the script.
#

if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
Expand All @@ -23,7 +23,7 @@ echo Replacing prod config YAML...

if [ ! -f "/srv/salt/qa-switcher/sd-default-config.yml.orig" ]; then
cp sd-default-config.yml qa-switch/sd-default-config.yml.orig
fi
fi
cp qa-switch/sd-qa-config.yml sd-default-config.yml

echo "Done! (Run this script again after 'sudo qubes-dom0-update -y' to reapply"
echo "Done! (Run this script after 'sudo qubes-dom0-update -y' to reapply")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3d16c1e

Please sign in to comment.