~ubuntu-branches/debian/sid/apt-dater/sid

« back to all changes in this revision

Viewing changes to debian/apt-dater.postinst

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2015-07-07 17:33:08 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20150707173308-7rkjhxnlq7gsykif
Tags: 1.0.2-1
* New upstream release.
  - Set the default of the opt-cmd-flags host option to "-t" since this is
    essential.
    Closes: #776392
  - Add new build dependency vim-common.
* Replace screen dependency with tmux.
* Create apt-dater group for session sharing.
* Add missing directories.
* Make the build reproducible.
  Closes: #789648
* Drop automake and autoconf build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
if [ "$1" = configure ]; then
 
6
    getent group apt-dater >/dev/null 2>&1 || addgroup --system apt-dater
 
7
    for d in /var/cache/apt-dater/stats /var/cache/apt-dater/tmux /var/lib/apt-dater/history; do
 
8
                chown :apt-dater "$d"
 
9
                chmod 02770 "$d"
 
10
    done
 
11
fi
 
12
 
 
13
#DEBHELPER#