This commit is contained in:
mikep%oeone.com 2001-12-20 16:59:30 +00:00
Родитель dd374bcbb2
Коммит c3920a0a23
3 изменённых файлов: 0 добавлений и 251 удалений

Просмотреть файл

@ -1,53 +0,0 @@
#!/bin/sh
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is OEone Calendar Code, released October 31st, 2001.
#
# The Initial Developer of the Original Code is
# OEone Corporation.
# Portions created by OEone Corporation are Copyright (C) 2001
# OEone Corporation. All Rights Reserved.
#
# Contributor(s): Colin Phillips <colinp@oeone.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
MOZ_PATH=/usr/local/mozilla0.9.5
CHROME_PATH=chrome://calendar/content/calendar.xul
CUR_USER=`whoami`;
# Check for a valid user (Root is not allowed to run this script)
if [ "$CUR_USER" = "root" ]; then
# logger -s "This script cannot be run as root"
echo "This script cannot be run as root"
exit 0
fi
$MOZ_PATH/mozilla -jsconsole -chrome $CHROME_PATH

Просмотреть файл

@ -1,134 +0,0 @@
content,install,url,jar:resource:/chrome/comm.jar!/content/necko/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/necko/
content,install,url,jar:resource:/chrome/embed.jar!/content/embed/
skin,install,url,jar:resource:/chrome/embed.jar!/skin/modern/embed/
locale,install,url,jar:resource:/chrome/embed.jar!/locale/en-US/embed/
content,install,url,jar:resource:/chrome/comm.jar!/content/editor/
content,install,url,jar:resource:/chrome/comm.jar!/content/editor-region/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/editor/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/editor-region/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/communicator/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/editor/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/global/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/messenger/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/navigator/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/communicator/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/editor/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/global/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/messenger/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/navigator/
content,install,url,jar:resource:/chrome/comm.jar!/content/navigator/
content,install,url,jar:resource:/chrome/comm.jar!/content/navigator-region/
content,install,url,jar:resource:/chrome/comm.jar!/content/navigator-platform/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/navigator/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/navigator-region/
locale,install,url,jar:resource:/chrome/en-unix.jar!/locale/en-US/navigator-platform/
content,install,url,jar:resource:/chrome/comm.jar!/content/communicator/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/communicator/
content,install,url,jar:resource:/chrome/comm.jar!/content/communicator-region/
content,install,url,jar:resource:/chrome/comm.jar!/content/communicator-platform/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/communicator-region/
locale,install,url,jar:resource:/chrome/en-unix.jar!/locale/en-US/communicator-platform/
content,install,url,jar:resource:/chrome/toolkit.jar!/content/global/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/global/
content,install,url,jar:resource:/chrome/toolkit.jar!/content/global-region/
content,install,url,jar:resource:/chrome/toolkit.jar!/content/global-platform/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/global-region/
locale,install,url,jar:resource:/chrome/en-unix.jar!/locale/en-US/global-platform/
content,install,url,jar:resource:/chrome/pipnss.jar!/content/pipnss/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/pipnss/
content,install,url,jar:resource:/chrome/pippki.jar!/content/pippki/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/pippki/
content,install,url,jar:resource:/chrome/comm.jar!/content/mozldap/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/mozldap/
content,install,url,jar:resource:/chrome/comm.jar!/content/cookie/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/cookie/
content,install,url,jar:resource:/chrome/comm.jar!/content/wallet/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/wallet/
content,install,url,jar:resource:/chrome/content-packs.jar!/content/content-packs/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/content-packs/
content,install,url,jar:resource:/chrome/help.jar!/content/help/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/help/
content,install,url,jar:resource:/chrome/venkman.jar!/content/venkman/
skin,install,url,jar:resource:/chrome/venkman.jar!/skin/modern/venkman/
locale,install,url,jar:resource:/chrome/venkman.jar!/locale/en-US/venkman/
content,install,url,jar:resource:/chrome/chatzilla.jar!/content/chatzilla/
skin,install,url,jar:resource:/chrome/chatzilla.jar!/skin/modern/chatzilla/
locale,install,url,jar:resource:/chrome/chatzilla.jar!/locale/en-US/chatzilla/
content,install,url,jar:resource:/chrome/messenger.jar!/content/messenger/
content,install,url,jar:resource:/chrome/messenger.jar!/content/messenger-region/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/messenger/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/messenger-region/
content,install,url,jar:resource:/chrome/toolkit.jar!/content/global-platform/
content,install,url,jar:resource:/chrome/comm.jar!/content/communicator-platform/
content,install,url,jar:resource:/chrome/comm.jar!/content/navigator-platform/
content,install,url,jar:resource:/chrome/toolkit.jar!/content/global-region/
content,install,url,jar:resource:/chrome/comm.jar!/content/communicator-region/
content,install,url,jar:resource:/chrome/comm.jar!/content/editor-region/
content,install,url,jar:resource:/chrome/comm.jar!/content/navigator-region/
content,install,url,jar:resource:/chrome/toolkit.jar!/content/global/
content,install,url,jar:resource:/chrome/comm.jar!/content/cookie/
content,install,url,jar:resource:/chrome/comm.jar!/content/wallet/
content,install,url,jar:resource:/chrome/content-packs.jar!/content/content-packs/
content,install,url,jar:resource:/chrome/comm.jar!/content/communicator/
content,install,url,jar:resource:/chrome/comm.jar!/content/editor/
content,install,url,jar:resource:/chrome/comm.jar!/content/navigator/
content,install,url,jar:resource:/chrome/comm.jar!/content/necko/
content,install,url,jar:resource:/chrome/comm.jar!/content/mozldap/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/communicator/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/editor/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/global/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/messenger/
skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/navigator/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/communicator/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/editor/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/global/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/messenger/
skin,install,url,jar:resource:/chrome/modern.jar!/skin/modern/navigator/
content,install,url,jar:resource:/chrome/help.jar!/content/help/
content,install,url,jar:resource:/chrome/messenger.jar!/content/messenger/
content,install,url,jar:resource:/chrome/messenger.jar!/content/messenger-region/
content,install,url,jar:resource:/chrome/pippki.jar!/content/pippki/
content,install,url,jar:resource:/chrome/pipnss.jar!/content/pipnss/
skin,install,url,jar:resource:/chrome/chatzilla.jar!/content/chatzilla/
locale,install,url,jar:resource:/chrome/chatzilla.jar!/content/chatzilla/
content,install,url,jar:resource:/chrome/chatzilla.jar!/content/chatzilla/
skin,install,url,jar:resource:/chrome/chatzilla.jar!/skin/modern/chatzilla/
locale,install,url,jar:resource:/chrome/chatzilla.jar!/locale/en-US/chatzilla/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/global/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/communicator/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/messenger/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/editor/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/navigator/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/aim/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/necko/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/mozldap/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/cookie/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/wallet/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/content-packs/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/help/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/net2phone/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/pipnss/
locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/pippki/
locale,install,url,jar:resource:/chrome/en-unix.jar!/locale/en-US/global-platform/
locale,install,url,jar:resource:/chrome/en-unix.jar!/locale/en-US/communicator-platform/
locale,install,url,jar:resource:/chrome/en-unix.jar!/locale/en-US/navigator-platform/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/global-region/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/communicator-region/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/editor-region/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/messenger-region/
locale,install,url,jar:resource:/chrome/US.jar!/locale/US/navigator-region/
skin,install,url,jar:resource:/chrome/venkman.jar!/content/venkman/
locale,install,url,jar:resource:/chrome/venkman.jar!/content/venkman/
content,install,url,jar:resource:/chrome/venkman.jar!/content/venkman/
skin,install,url,jar:resource:/chrome/venkman.jar!/skin/modern/venkman/
locale,install,url,jar:resource:/chrome/venkman.jar!/locale/en-US/venkman/
content,install,url,resource:/chrome/calendar/content/penglobal/
locale,install,url,resource:/chrome/calendar/locale/en-US/penglobal/
skin,install,url,resource:/chrome/calendar/skin/modern/penglobal/
content,install,url,resource:/chrome/calendar/content/
locale,install,url,resource:/chrome/calendar/locale/en-US/
skin,install,url,resource:/chrome/calendar/skin/modern/

Просмотреть файл

@ -1,64 +0,0 @@
#!/bin/sh
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is OEone Calendar Code, released October 31st, 2001.
#
# The Initial Developer of the Original Code is
# OEone Corporation.
# Portions created by OEone Corporation are Copyright (C) 2001
# OEone Corporation. All Rights Reserved.
#
# Contributor(s): Colin Phillips <colinp@oeone.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
# Change this to point to your 0.9.5 installation
MOZ_PATH=/usr/local/mozilla0.9.5
# find out where the Calendar directory is based on where this script lives
WHERE_SCRIPT_LIVES=`dirname \`which $0 \``
CALENDAR_PATH=$WHERE_SCRIPT_LIVES
# Chrome
rm -f $MOZ_PATH/component.reg
rm -f $MOZ_PATH/chrome/calendar
ln -s $CALENDAR_PATH $MOZ_PATH/chrome/calendar
rm -f $MOZ_PATH/chrome/installed-chrome.txt
cp $CALENDAR_PATH/installed-chrome.txt $MOZ_PATH/chrome/installed-chrome.txt
rm -f $MOZ_PATH/chrome/*.rdf
rm -rf $MOZ_PATH/chrome/overlayinfo
# Libraries
cp $CALENDAR_PATH/libxpical/libxpical.so $MOZ_PATH/components
cp $CALENDAR_PATH/libxpical/oeIICal.xpt $MOZ_PATH/components
# Register chrome and libraries
export MOZILLA_FIVE_HOME=$MOZ_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZ_PATH
$MOZ_PATH/regxpcom
$MOZ_PATH/regchrome
touch $MOZ_PATH/chrome/user-locales.rdf
touch $MOZ_PATH/chrome/user-skins.rdf