1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

debian package: mark /etc/laminar.conf as a config file

This triggers apt's configuration file management system, allowing
the user to choose their locally modified version, the new upstream
version, inspect differences etc; instead of blindly overwriting it.

Resolves #92.
This commit is contained in:
Oliver Giles 2019-11-01 10:49:53 +02:00
parent 4aaa930e17
commit 8cf31fa1c2
4 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,7 @@ Maintainer: Oliver Giles <web ohwg net>
Depends: libcapnp-0.7.0, libsqlite3-0, zlib1g Depends: libcapnp-0.7.0, libsqlite3-0, zlib1g
Description: Lightweight Continuous Integration Service Description: Lightweight Continuous Integration Service
EOF EOF
echo /etc/laminar.conf > laminar/DEBIAN/conffiles
cat <<EOF > laminar/DEBIAN/postinst cat <<EOF > laminar/DEBIAN/postinst
#!/bin/bash #!/bin/bash
echo Creating laminar user with home in /var/lib/laminar echo Creating laminar user with home in /var/lib/laminar

View File

@ -48,6 +48,7 @@ Maintainer: Oliver Giles <web ohwg net>
Depends: libcapnp-0.7.0, libsqlite3-0, zlib1g Depends: libcapnp-0.7.0, libsqlite3-0, zlib1g
Description: Lightweight Continuous Integration Service Description: Lightweight Continuous Integration Service
EOF EOF
echo /etc/laminar.conf > laminar/DEBIAN/conffiles
cat <<EOF > laminar/DEBIAN/postinst cat <<EOF > laminar/DEBIAN/postinst
#!/bin/bash #!/bin/bash
echo Creating laminar user with home in /var/lib/laminar echo Creating laminar user with home in /var/lib/laminar

View File

@ -53,6 +53,7 @@ Maintainer: Oliver Giles <web ohwg net>
Depends: libsqlite3-0, zlib1g Depends: libsqlite3-0, zlib1g
Description: Lightweight Continuous Integration Service Description: Lightweight Continuous Integration Service
EOF EOF
echo /etc/laminar.conf > laminar/DEBIAN/conffiles
cat <<EOF > laminar/DEBIAN/postinst cat <<EOF > laminar/DEBIAN/postinst
#!/bin/bash #!/bin/bash
echo Creating laminar user with home in /var/lib/laminar echo Creating laminar user with home in /var/lib/laminar

View File

@ -73,6 +73,7 @@ Maintainer: Oliver Giles <web ohwg net>
Depends: libsqlite3-0, zlib1g Depends: libsqlite3-0, zlib1g
Description: Lightweight Continuous Integration Service Description: Lightweight Continuous Integration Service
EOF EOF
echo /etc/laminar.conf > laminar/DEBIAN/conffiles
cat <<EOF > laminar/DEBIAN/postinst cat <<EOF > laminar/DEBIAN/postinst
#!/bin/bash #!/bin/bash
echo Creating laminar user with home in /var/lib/laminar echo Creating laminar user with home in /var/lib/laminar