Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
alternc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domainepublic
alternc
Commits
2078dc7f
Commit
2078dc7f
authored
Feb 27, 2013
by
Benjamin Sonntag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual propagation of [3145] in stable-3.0
parent
672aa45b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
debian/changelog
debian/changelog
+1
-1
install/alternc.install
install/alternc.install
+9
-2
No files found.
debian/changelog
View file @
2078dc7f
alternc (3.0
+nmu
1) stable; urgency=low
alternc (3.0
.
1) stable; urgency=low
* r4112 : bugfixing upgrade script 3.0.0~3.php to add the phpmyadmin special user to table dbuser
* r4112 : bugfixing upgrade script 3.0.0~3.php to add the phpmyadmin special user to table dbuser
...
...
install/alternc.install
View file @
2078dc7f
...
@@ -430,10 +430,17 @@ setfacl -b -k -m d:g:alterncpanel:rw- -m g:alterncpanel:rw- "$ALTERNC_LOC/html/"
...
@@ -430,10 +430,17 @@ setfacl -b -k -m d:g:alterncpanel:rw- -m g:alterncpanel:rw- "$ALTERNC_LOC/html/"
if
[
!
-
e
"/var/log/alternc/bureau.log"
];
then
if
[
!
-
e
"/var/log/alternc/bureau.log"
];
then
test
-
d
"/var/log/alternc/"
||
mkdir
-
p
"/var/log/alternc/"
test
-
d
"/var/log/alternc/"
||
mkdir
-
p
"/var/log/alternc/"
touch
"/var/log/alternc/bureau.log"
touch
"/var/log/alternc/bureau.log"
chmod
640
"/var/log/alternc/bureau.log"
chown
alterncpanel
:
adm
/
var
/
log
/
alternc
/
bureau
.
log
fi
fi
if
[
!
-
e
"/var/log/alternc/update_domains.log"
];
then
test
-
d
"/var/log/alternc/"
||
mkdir
-
p
"/var/log/alternc/"
touch
"/var/log/alternc/update_domains.log"
fi
# Be sure of the owner of the logs files
chmod
640
/
var
/
log
/
alternc
/
bureau
.
log
/
var
/
log
/
alternc
/
update_domains
.
log
chown
alterncpanel
:
adm
/
var
/
log
/
alternc
/
bureau
.
log
/
var
/
log
/
alternc
/
update_domains
.
log
# Creating admin user if needed
# Creating admin user if needed
HAS_ROOT
=
`mysql --defaults-file=/etc/alternc/my.cnf -e "SELECT COUNT(*) FROM membres WHERE login = 'admin' OR login = 'root' and su = 1" | tail -1`
HAS_ROOT
=
`mysql --defaults-file=/etc/alternc/my.cnf -e "SELECT COUNT(*) FROM membres WHERE login = 'admin' OR login = 'root' and su = 1" | tail -1`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment