|
@@ -99,7 +99,8 @@ INSECURE='no'
|
99
|
99
|
MESH_DESKTOP_BACKGROUND_IMAGE=/usr/local/share/${PROJECT_NAME}_mesh_initial_background.png
|
100
|
100
|
|
101
|
101
|
# The browser application to use
|
102
|
|
-BROWSER=midori
|
|
102
|
+BROWSER=firefox
|
|
103
|
+BROWSER_OPTIONS='-url'
|
103
|
104
|
|
104
|
105
|
MESH_INSTALL_DIR=/var/lib
|
105
|
106
|
|
|
@@ -946,7 +947,7 @@ if [ \$no_of_users -gt 0 ]; then
|
946
|
947
|
echo 'Comment[it]=Editing collaborativo di documenti in tempo reale' >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
947
|
948
|
echo 'Comment[ru]=Совместное редактирование документов в режиме реального времени' >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
948
|
949
|
echo 'Comment[zh]=实时协同编辑文件' >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
949
|
|
- echo "Exec=$BROWSER http://\${HOSTNAME}.local" >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
|
950
|
+ echo "Exec=$BROWSER $BROWSER_OPTIONS http://\${HOSTNAME}.local" >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
950
|
951
|
echo "Icon=/usr/share/$PROJECT_NAME/avatars/icon_cryptpad.png" >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
951
|
952
|
echo 'Terminal=false' >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
952
|
953
|
echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
|
@@ -954,7 +955,7 @@ if [ \$no_of_users -gt 0 ]; then
|
954
|
955
|
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
955
|
956
|
else
|
956
|
957
|
if ! grep -q "\${HOSTNAME}.local" /home/$MY_USERNAME/Desktop/cryptpad.desktop; then
|
957
|
|
- sed -i "s|Exec=.*|Exec=$BROWSER http://\${HOSTNAME}.local|g" /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
|
958
|
+ sed -i "s|Exec=.*|Exec=$BROWSER $BROWSER_OPTIONS http://\${HOSTNAME}.local|g" /home/$MY_USERNAME/Desktop/cryptpad.desktop
|
958
|
959
|
fi
|
959
|
960
|
fi
|
960
|
961
|
fi
|
|
@@ -1250,7 +1251,7 @@ EOF
|
1250
|
1251
|
fi
|
1251
|
1252
|
|
1252
|
1253
|
# browser
|
1253
|
|
- chroot "$rootdir" apt-get -yq install $BROWSER
|
|
1254
|
+ chroot "$rootdir" apt-get -yq install firefox-esr
|
1254
|
1255
|
|
1255
|
1256
|
# help
|
1256
|
1257
|
mkdir -p $rootdir/home/${MY_USERNAME}/help/images
|