~ubuntu-branches/ubuntu/wily/backuppc/wily

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2011-01-14 11:02:06 UTC
  • mfrom: (0.3.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110114110206-6stnhaiaeq8bciun
Tags: 3.2.0-3ubuntu1
* Merge from debian unstable. (LP: #702812) Remaining changes:
  - debian/backup.init, debian/rules, debian/postinst: Do not call init
    script on shutdown and reboot (TearDown) (Debian #488660)
  - debian/control: Drop build dependency to 'par2', it's in universe.
  - configure.pl: Do not test for par2 being available at build time
  - debian/control: depend on default-mta | mail-transport-agent, instead of
    enumerating a long list of alternative MTAs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
        else 
111
111
            htpasswd2 -bm /etc/backuppc/htpasswd backuppc $RET
112
112
        fi
113
 
        touch /etc/backuppc/htgroup
114
113
    fi
115
114
    db_reset backuppc/tmppass
116
115
    db_subst "backuppc/configuration-note" "pass" ""
134
133
    chown -R backuppc:www-data /etc/backuppc
135
134
 
136
135
    # fix the perms of the backuppc password files
137
 
    chmod 640 /etc/backuppc/htgroup /etc/backuppc/htpasswd
 
136
    chmod 640 /etc/backuppc/htpasswd
138
137
    
139
138
    ;;
140
139