Changeset 1070


Ignore:
Timestamp:
01/12/06 02:44:02 (8 years ago)
Author:
anarcat
Message:

try to make this installable, by fixing the following error:

chown: cannot access `/var/cache/awstats': No such file or directory

Location:
trunk/debian
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r1065 r1070  
     1alternc-awstats (0.3.2) unstable; urgency=low 
     2 
     3  * try to make this installable by creating /var/cache/awstats in 
     4    debian/rules instead of postinst 
     5 
     6 -- The Anarcat <anarcat@anarcat.ath.cx>  Wed, 11 Jan 2006 20:43:44 -0500 
     7 
    18alternc-awstats (0.3.1) testing; urgency=low 
    29 
  • trunk/debian/postinst

    r1067 r1070  
    5353    ln /usr/lib/cgi-bin/awstats.pl /var/alternc/cgi-bin/ -sf  
    5454 
    55     # that's not very nice, but we need it 
    56     mkdir /var/cache/awstats 
    57     chown www-data /etc/awstats /var/cache/awstats 
    58     touch /etc/alternc/awstats.htpasswd 
    59     chown 33 /etc/alternc/awstats.htpasswd 
    60     chmod 777 /etc/alternc/awstats.htpasswd 
    61  
    6255    # Finally, add this module to the AlternC's menu :  
    6356    if [ -z `grep menu_aws.php /var/alternc/bureau/admin/menulist.txt` ]  
  • trunk/debian/rules

    r1061 r1070  
    6464        install -m 0644 -g www-data -o www-data awstats.template.conf debian/alternc-awstats/etc/alternc/ 
    6565        install -m 0444 debian/lintian-override debian/alternc-awstats/usr/share/lintian/overrides/alternc-awstats 
    66         cp .placeholder debian/alternc-awstats/var/cache/awstats 
    67         chown 33.33 -R debian/alternc-awstats/var/cache/awstats 
     66        mkdir -p debian/alternc-awstats/var/cache/awstats 
    6867 
     68        touch debian/alternc-awstats/var/cache/awstats/.placeholder 
     69        chown www-data:www-data debian/alternc-awstats/var/cache/awstats 
     70        touch debian/alternc-awstats/etc/alternc/awstats.htpasswd 
     71# that's not very nice, but we need it 
     72        chown 33 debian/alternc-awstats/etc/alternc/awstats.htpasswd 
     73        chmod 777 debian/alternc-awstats/etc/alternc/awstats.htpasswd 
    6974 
    7075#       dh_install --prefix=install/alternc 
Note: See TracChangeset for help on using the changeset viewer.