Don't include SIP in the default installation

This commit is contained in:
Bob Mottram 2016-11-01 17:29:56 +00:00
parent b99641af02
commit 4b6352167f
2 changed files with 7 additions and 5 deletions

View File

@ -28,10 +28,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
VARIANTS='full full-vim chat'
VARIANTS=''
IN_DEFAULT_INSTALL=1
SHOW_ON_ABOUT=1
IN_DEFAULT_INSTALL=0
SHOW_ON_ABOUT=0
SIP_SERVER_PASSWORD=
SIP_PORT=5060

View File

@ -307,10 +307,12 @@ function show_users {
echo '====='
echo ''
echo -n -e "$(pad_string 'Name')"
echo -n -e "$(pad_string 'SIP ext')"
if [[ $(app_is_installed sip) == "1" ]]; then
echo -n -e "$(pad_string 'SIP ext')"
fi
echo -n -e "$(pad_string 'Data')"
echo ''
echo '--------------------------------------------------------------------------'
echo '----------------------------------'
for d in /home/*/ ; do
USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
if [[ $(is_valid_user "$USRNAME") == "1" ]]; then