aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-01-19 15:38:35 +0100
committerKarel Kočí <karel.koci@nic.cz>2017-01-19 15:38:35 +0100
commit1998f2c043e58238304fd4a44df841752a527470 (patch)
tree49c51fb9cefd62a9de5f302f124778217c641677
parentb3966853d6c336bc66d304b448ac65280bce7957 (diff)
downloadturris-myrepo-1998f2c043e58238304fd4a44df841752a527470.tar.gz
turris-myrepo-1998f2c043e58238304fd4a44df841752a527470.tar.bz2
turris-myrepo-1998f2c043e58238304fd4a44df841752a527470.zip
Add clean repository
-rwxr-xr-xclean_repo.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/clean_repo.sh b/clean_repo.sh
new file mode 100755
index 0000000..9d81e44
--- /dev/null
+++ b/clean_repo.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+ssh freebsd@cynerd.cz "
+set -e
+set -x
+
+rm -rf /usr/local/www/data/myrepo
+mkdir -p /usr/local/www/data/myrepo/turris
+mkdir -p /usr/local/www/data/myrepo/omnia
+"