|
@@ -28,13 +28,13 @@
|
28
|
28
|
# You should have received a copy of the GNU Affero General Public License
|
29
|
29
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
30
|
30
|
|
31
|
|
-VARIANTS=''
|
|
31
|
+VARIANTS='full full-vim cloud'
|
32
|
32
|
|
33
|
33
|
IN_DEFAULT_INSTALL=0
|
34
|
34
|
SHOW_ON_ABOUT=1
|
35
|
35
|
|
36
|
36
|
TAHOELAFS_REPO="https://github.com/tahoe-lafs/tahoe-lafs"
|
37
|
|
-TAHOELAFS_COMMIT='30b421d48b3d1dae2ef507bf27a1f3816300cd92'
|
|
37
|
+TAHOELAFS_COMMIT='bb782b0331a60de438136a593bba18338d8d866b'
|
38
|
38
|
|
39
|
39
|
TAHOELAFS_PORT=50213
|
40
|
40
|
TAHOELAFS_WEB_PORT=3456
|
|
@@ -115,8 +115,13 @@ function reconfigure_tahoelafs {
|
115
|
115
|
}
|
116
|
116
|
|
117
|
117
|
function upgrade_tahoelafs {
|
118
|
|
- echo -n ''
|
119
|
|
- # TODO
|
|
118
|
+ systemctl stop tahoelafs
|
|
119
|
+ function_check set_repo_commit
|
|
120
|
+ set_repo_commit /home/tahoelafs/tahoelafs "tahoelafs commit" "$TAHOELAFS_COMMIT" $TAHOELAFS_REPO
|
|
121
|
+ cd /home/tahoelafs/tahoelafs
|
|
122
|
+ virtualenv venv
|
|
123
|
+ venv/bin/pip install --editable .
|
|
124
|
+ systemctl start tahoelafs
|
120
|
125
|
}
|
121
|
126
|
|
122
|
127
|
function backup_local_tahoelafs {
|
|
@@ -343,6 +348,9 @@ function install_tahoelafs {
|
343
|
348
|
systemctl enable tahoelafs
|
344
|
349
|
systemctl daemon-reload
|
345
|
350
|
systemctl start tahoelafs
|
|
351
|
+
|
|
352
|
+ set_completion_param "tahoelafs commit" "$TAHOELAFS_COMMIT"
|
|
353
|
+
|
346
|
354
|
APP_INSTALLED=1
|
347
|
355
|
}
|
348
|
356
|
|