aboutsummaryrefslogtreecommitdiff
path: root/bin/provision-dict
diff options
context:
space:
mode:
Diffstat (limited to 'bin/provision-dict')
-rwxr-xr-xbin/provision-dict13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/provision-dict b/bin/provision-dict
new file mode 100755
index 0000000..a75ae71
--- /dev/null
+++ b/bin/provision-dict
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Provisioner for dictionaries
+#
+
+# Check for sudo
+if [ "`whoami`" != "root" ]; then
+ SUDO="sudo"
+fi
+
+# Dictionaries
+$SUDO apt install -y dict dict-gcide dict-freedict-eng-por \
+ dict-freedict-eng-ell dict-freedict-eng-lat