~cjwatson/launchpad-buildd/extended-snap-status

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Adam Conrad
  • Date: 2013-10-10 15:02:24 UTC
  • Revision ID: adconrad@0c3.net-20131010150224-5myle0putd2tcstp
Mount /dev/pts with -o gid=5,mode=620 to avoid needing pt_chown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
set -e
4
 
 
5
 
if [ "$1" = purge ]; then
6
 
        rm -f /etc/launchpad-buildd/*
7
 
        rm -f /etc/systemd/timesyncd.conf.d/00-launchpad-buildd.conf
8
 
        if [ -d /etc/systemd/timesyncd.conf.d ]; then
9
 
                rmdir -p --ignore-fail-on-non-empty /etc/systemd/timesyncd.conf.d
10
 
        fi
11
 
fi