From c75e9bc2f0e1e3c4bc8f9a75ebf49da4e160a914 Mon Sep 17 00:00:00 2001 From: "mikep%oeone.com" Date: Mon, 13 Jan 2003 21:53:58 +0000 Subject: [PATCH] Fixing error with installation. --- calendar/install.js | 6 ++---- calendar/linux/install.js | 6 ++---- calendar/windows/install.js | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/calendar/install.js b/calendar/install.js index 975aa34a0f2..55b5af0379a 100644 --- a/calendar/install.js +++ b/calendar/install.js @@ -1,4 +1,4 @@ -initInstall("Mozilla Calendar", "Mozilla/Calendar", "0.7"); +initInstall("Mozilla Calendar", "Mozilla/Calendar", "0.8"); calendarDir = getFolder("Chrome","calendar"); @@ -8,10 +8,8 @@ addDirectory( "resources" ); addDirectory("", "components", getFolder( "Components" ), "" ); -addDirectory( "", "icons", getFolder( "Chrome", "icons" ), "", true ); +addDirectory( "", "", "icons", getFolder( "Chrome", "icons" ), "", true ); -err = addFile( "", "calendar_pref.js", getFolder( getFolder( "Program", "defaults" ), "pref" ), "" ); -alert( err ); var err = getLastError(); if ( err == SUCCESS ) { diff --git a/calendar/linux/install.js b/calendar/linux/install.js index 975aa34a0f2..55b5af0379a 100644 --- a/calendar/linux/install.js +++ b/calendar/linux/install.js @@ -1,4 +1,4 @@ -initInstall("Mozilla Calendar", "Mozilla/Calendar", "0.7"); +initInstall("Mozilla Calendar", "Mozilla/Calendar", "0.8"); calendarDir = getFolder("Chrome","calendar"); @@ -8,10 +8,8 @@ addDirectory( "resources" ); addDirectory("", "components", getFolder( "Components" ), "" ); -addDirectory( "", "icons", getFolder( "Chrome", "icons" ), "", true ); +addDirectory( "", "", "icons", getFolder( "Chrome", "icons" ), "", true ); -err = addFile( "", "calendar_pref.js", getFolder( getFolder( "Program", "defaults" ), "pref" ), "" ); -alert( err ); var err = getLastError(); if ( err == SUCCESS ) { diff --git a/calendar/windows/install.js b/calendar/windows/install.js index 975aa34a0f2..55b5af0379a 100644 --- a/calendar/windows/install.js +++ b/calendar/windows/install.js @@ -1,4 +1,4 @@ -initInstall("Mozilla Calendar", "Mozilla/Calendar", "0.7"); +initInstall("Mozilla Calendar", "Mozilla/Calendar", "0.8"); calendarDir = getFolder("Chrome","calendar"); @@ -8,10 +8,8 @@ addDirectory( "resources" ); addDirectory("", "components", getFolder( "Components" ), "" ); -addDirectory( "", "icons", getFolder( "Chrome", "icons" ), "", true ); +addDirectory( "", "", "icons", getFolder( "Chrome", "icons" ), "", true ); -err = addFile( "", "calendar_pref.js", getFolder( getFolder( "Program", "defaults" ), "pref" ), "" ); -alert( err ); var err = getLastError(); if ( err == SUCCESS ) {