Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
534b9793
Commit
534b9793
authored
14 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Debian installer simpler
parent
408e8fee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/deb/postinst
+12
-8
12 additions, 8 deletions
build/deb/postinst
with
12 additions
and
8 deletions
build/deb/postinst
+
12
−
8
View file @
534b9793
...
...
@@ -75,20 +75,22 @@ case "$1" in
for
server
in
$webservers
;
do
echo
Complete config of server
$server
# Add info for PHP (
might be
obsolete)
# Add info for PHP (obsolete)
#typestr='application/x-httpd-php'
#extension='.php'
#. /usr/share/wwwconfig-common/apache-addtype_all.sh
# Enable PHP module (
might be
obsolete)
# Enable PHP module (obsolete)
#. /usr/share/wwwconfig-common/apache-php.sh
#echo Result of enabling PHP modules: $status
# Detect webuser and webgroup
webuser
=
webgroup
=
.
/usr/share/wwwconfig-common/apache-run.get
echo
Web user.group found is
$webuser
.
$webgroup
# Search in httpd.conf (obsolete)
#. /usr/share/wwwconfig-common/apache-run.get
#echo Web user.group found is $webuser.$webgroup
if
[
-z
"
$webuser
"
]
;
then
webuser
=
www-data
...
...
@@ -109,10 +111,12 @@ case "$1" in
#echo "$includefile $server"
.
/usr/share/wwwconfig-common/apache-include_all.sh
test
"
$status
"
=
"uncomment"
-o
"
$status
"
=
"include"
&&
restart
=
"
$server
$restart
"
for
index
in
index.php
;
do
.
/usr/share/wwwconfig-common/apache-index_all.sh
test
"
$status
"
=
"added"
&&
restart
=
"
$server
$restart
"
done
# (useless)
#for index in index.php; do
# . /usr/share/wwwconfig-common/apache-index_all.sh
# test "$status" = "added" && restart="$server $restart"
#done
done
# Copy icon file
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment