|
@@ -217,6 +217,9 @@ function add_user_xmpp {
|
217
|
217
|
echo '' >> /home/$new_username/.config/profanity/profrc
|
218
|
218
|
echo '[plugins]' >> /home/$new_username/.config/profanity/profrc
|
219
|
219
|
echo 'load=prof_omemo_plugin.py;' >> /home/$new_username/.config/profanity/profrc
|
|
220
|
+ echo '' >> /home/$new_username/.config/profanity/profrc
|
|
221
|
+ echo '[otr]' >> /home/$new_username/.config/profanity/profrc
|
|
222
|
+ echo 'policy=opportunistic' >> /home/$new_username/.config/profanity/profrc
|
220
|
223
|
|
221
|
224
|
chown -R $new_username:$new_username /home/$new_username/.local
|
222
|
225
|
chown -R $new_username:$new_username /home/$new_username/.config
|
|
@@ -989,7 +992,7 @@ function install_xmpp_client {
|
989
|
992
|
fi
|
990
|
993
|
|
991
|
994
|
# install the omemo plugin
|
992
|
|
- apt-get -yq install python-pip python-setuptools clang libffi-dev libssl-dev
|
|
995
|
+ apt-get -yq install python-pip python-setuptools clang libffi-dev libssl-dev python-dev
|
993
|
996
|
git_clone $PROFANITY_OMEMO_PLUGIN_REPO $INSTALL_DIR/profanity-omemo-plugin
|
994
|
997
|
cd $INSTALL_DIR/profanity-omemo-plugin
|
995
|
998
|
git checkout $PROFANITY_OMEMO_PLUGIN_COMMIT -b $PROFANITY_OMEMO_PLUGIN_COMMIT
|
|
@@ -1068,6 +1071,9 @@ function install_xmpp_client {
|
1068
|
1071
|
echo '' >> /home/$MY_USERNAME/.config/profanity/profrc
|
1069
|
1072
|
echo '[plugins]' >> /home/$MY_USERNAME/.config/profanity/profrc
|
1070
|
1073
|
echo 'load=prof_omemo_plugin.py;' >> /home/$MY_USERNAME/.config/profanity/profrc
|
|
1074
|
+ echo '' >> /home/$MY_USERNAME/.config/profanity/profrc
|
|
1075
|
+ echo '[otr]' >> /home/$MY_USERNAME/.config/profanity/profrc
|
|
1076
|
+ echo 'policy=opportunistic' >> /home/$MY_USERNAME/.config/profanity/profrc
|
1071
|
1077
|
|
1072
|
1078
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.local
|
1073
|
1079
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config
|