1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-conf smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-conf |
2 |
|
|
--- smeserver-nextcloud-1.2.0.old/root/etc/e-smith/events/actions/nextcloud-conf 2022-07-07 23:56:11.244000000 -0400 |
3 |
|
|
+++ smeserver-nextcloud-1.2.0/root/etc/e-smith/events/actions/nextcloud-conf 2022-07-08 01:26:46.719000000 -0400 |
4 |
|
|
@@ -8,6 +8,10 @@ |
5 |
|
|
TERM=dumb /usr/bin/occ $params |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
+# does /usr/share/nextcloud exists ? no: we create it from sources |
9 |
|
|
+if [ ! -d /usr/share/nextcloud ]; then |
10 |
|
|
+ cp -a /usr/share/nextcloud-src /usr/share/nextcloud |
11 |
|
|
+fi |
12 |
|
|
|
13 |
|
|
# important configuration variables |
14 |
|
|
password=`/sbin/e-smith/db configuration getprop nextcloud DbPassword || echo "missing"` |