menu_sta2 était repéré par alternc-awstats.postinst pour ajouter menu_aws à la ligne suivante,

or menu_sta2 n'existe plus... Je l'ai donc remplacé par le menu qui précédait menu_sta2: menu_cron
This commit is contained in:
Axel ROGER 2012-10-03 14:31:29 +00:00
parent 0189f5b095
commit 9b538026e4
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ EOF
# ADD menu item :
if ! grep -q "^menu_aws.php$" "$MENUFILE"; then
rm -f $MENUFILE.alternc_awstats
sed -e "s/menu_sta2.php/&\\
sed -e "s/menu_cron.php/&\\
menu_aws.php/" <$MENUFILE >$MENUFILE.alternc_awstats
mv -f $MENUFILE.alternc_awstats $MENUFILE
fi