Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Test for results before executing chown on them. (closes: #904405)
· a1980352
Bas Couwenberg
authored
Jul 24, 2018
a1980352
Set distribution to unstable.
· 2977420e
Bas Couwenberg
authored
Jul 24, 2018
2977420e
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
2977420e
routino (3.2-4) unstable; urgency=medium
* Test for results before executing chown on them.
(closes: #904405)
-- Bas Couwenberg <sebastic@debian.org> Tue, 24 Jul 2018 15:13:47 +0200
routino (3.2-3) unstable; urgency=medium
* Change priority from extra to optional.
...
...
debian/routino-www.postinst
View file @
2977420e
...
...
@@ -43,7 +43,12 @@ case "$1" in
mkdir
-p
/var/lib/routino/results
fi
chown
www-data:www-data /var/lib/routino/results
if
[
`
ls
/var/lib/routino/results/ |
wc
-l
`
-ge
1
]
;
then
chown
www-data:www-data /var/lib/routino/results/
*
fi
if
[
`
ls
/var/lib/routino/results/
*
/
*
|
wc
-l
`
-ge
1
]
;
then
chown
www-data:www-data /var/lib/routino/results/
*
/
*
fi
webservers
=
"apache2"
...
...