summaryrefslogtreecommitdiff
path: root/debian/tor.postinst
AgeCommit message (Collapse)Author
2010-08-04Remove the debian directory from the main git repositoryNick Mathewson
Once upon a time it made sense to keep all the Debian files in the main Tor distribution, since repeatedly merging them back in was hard. Now that we're on git, that's no longer so. Peter's debian repository at debian/tor.git on our git server has the most recent version of the tor-on-debian packaging stuff, and the versions in our own repository have gotten out of date. Resolves bug #1735.
2009-05-31Remove /var/run/tor from package.Peter Palfrader
Stop shipping /var/run/tor in the package. Only clean up permissions of /var/run/tor in postinst if the directory actually exists.
2008-06-04Forward port debian 0.2.0.26-rc-1 to trunkPeter Palfrader
svn:r14933
2008-02-03Fix postinst find command that chowns stuff to the right user. Find does ↵Peter Palfrader
weird things in the presence of !. svn:r13364
2008-01-21postinst: if we reboot between unpacking and configuring on some smart systemsPeter Palfrader
this will mean that we just lost /var/run/tor - creating it in the maintainer script if it doesn't exist. svn:r13208
2008-01-21postinst: We were only fixing the permissions of /var/{lib,run,log}/tor when wePeter Palfrader
were not upgrading. Unfortunately the check doesn't work all that well usually in cases where the package was removed (not purged) and then later re-installed again. Now we ensure proper ownership and modes for all the directories and files below /var/{lib,run,log}/tor (the dirs themselves included) every time we run postinst. svn:r13207
2008-01-21Change wording if debian-tor's homedir is wrong, do not print anything if it ↵Peter Palfrader
is ok. Whitespace nazi found out about debian/tor.postinst. svn:r13206
2008-01-21postinst: Remove the check that requires the debian-tor user to have a uidPeter Palfrader
between 100 and 999. There is no good reason to require this. If the local admin moves the system users/uid-space to some other range then they probably have a good reason for that. svn:r13205
2004-11-12Make logs readable by the system administrators (group adm)Peter Palfrader
svn:r2810
2004-01-13First go at a debian packagePeter Palfrader
svn:r987