Skip to content

Commit c565c62

Browse files
author
David Coutadeur
committed
Revert "build package without root permissions (ltb-project#211)"
This reverts commit 7e10d1a.
1 parent fd7e797 commit c565c62

File tree

3 files changed

+7
-20
lines changed

3 files changed

+7
-20
lines changed

packaging/debian/control

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ Source: ltb-project-white-pages
22
Section: web
33
Priority: extra
44
Maintainer: Clement Oudot <clem@ltb-project.org>
5-
Build-Depends:
6-
debhelper (>= 7),
7-
dh-sequence-zz-debputy-rrr
8-
Rules-Requires-Root: no
5+
Build-Depends: debhelper (>= 7)
6+
Rules-Requires-Root: binary-targets
97
Standards-Version: 3.8.3
108
Homepage: https://ltb-project.org/documentation/white-pages.html
119

packaging/debian/debputy.manifest

Lines changed: 0 additions & 16 deletions
This file was deleted.

packaging/debian/rules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ override_dh_install:
1010
dh_install
1111
debian/replace_cache_dirs
1212

13+
override_dh_fixperms:
14+
dh_fixperms
15+
chown www-data:www-data debian/white-pages/var/cache/white-pages/cache
16+
chown www-data:www-data debian/white-pages/var/cache/white-pages/templates_c
17+
1318
override_dh_builddeb:
1419
dh_builddeb -- -Zxz
1520

0 commit comments

Comments
 (0)