#!/bin/bash # This module loader was last updated to current revision levels on 22 January 2011. ##### Create folder: sites/all/modules if [ -d ~/public_html/sites/all/modules ] then echo Found folder \~/public_html/sites/all/modules else cd ~/public_html/sites/all mkdir modules if [ -d ~/public_html/sites/all/modules ] then echo Created folder \~/public_html/sites/all/modules else echo Failed to create folder \~/public_html/sites/all/modules; exit 1 fi fi ##### Create folder: sites/all/modules/uploads if [ -d ~/public_html/sites/all/modules/uploads ] then echo Found folder \~/public_html/sites/all/modules/uploads else cd ~/public_html/sites/all/modules mkdir uploads if [ -d ~/public_html/sites/all/modules/uploads ] then echo Created folder \~/public_html/sites/all/modules/uploads else echo Failed to create folder \~/public_html/sites/all/modules/uploads; exit 1 fi fi ##### Load editor module: WYSIWYG if [ -f ~/public_html/sites/all/modules/wysiwyg/wysiwyg.js ] then echo Found module WYSIWYG else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/wysiwyg-6.x-2.2.tar.gz tar -xf wysiwyg-6.x-2.2.tar.gz mv wysiwyg-6.x-2.2.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/wysiwyg/wysiwyg.js ] then echo Installed module WYSIWYG else echo Failed to install module WYSIWYG; exit 1 fi fi ##### Create folder: sites/all/libraries if [ -d ~/public_html/sites/all/libraries ] then echo Found folder \~/public_html/sites/all/libraries else cd ~/public_html/sites/all mkdir libraries if [ -d ~/public_html/sites/all/libraries ] then echo Created folder \~/public_html/sites/all/libraries else echo Failed to create folder \~/public_html/sites/all/libraries; exit 1 fi fi ##### Create folder: sites/all/libraries/uploads if [ -d ~/public_html/sites/all/libraries/uploads ] then echo Found folder \~/public_html/sites/all/libraries/uploads else cd ~/public_html/sites/all/libraries mkdir uploads if [ -d ~/public_html/sites/all/libraries/uploads ] then echo Created folder \~/public_html/sites/all/libraries/uploads else echo Failed to create folder \~/public_html/sites/all/libraries/uploads; exit 1 fi fi ##### Load editor library: FCKEditor if [ -f ~/public_html/sites/all/libraries/fckeditor/fckeditor.js ] then echo Found editor plug-in FCKEditor else cd ~/public_html/sites/all/libraries wget downloads.sourceforge.net/project/fckeditor/FCKeditor/2.6.5/FCKeditor_2.6.5.tar.gz tar -xf FCKeditor_2.6.5.tar.gz mv FCKeditor_2.6.5.tar.gz ./uploads if [ -f ~/public_html/sites/all/libraries/fckeditor/fckeditor.js ] then echo Installed editor plug-in FCKEditor else echo Failed to install editor plug-in FCKEditor; exit 1 fi fi ##### Load editor library: jWYSIWYG.js if [ -f ~/public_html/sites/all/libraries/jwysiwyg/jquery.wysiwyg.js ] then echo Found editor plug-in jWYSIWYG else cd ~/public_html/sites/all/libraries mkdir jwysiwyg cd jwysiwyg wget jwysiwyg.googlecode.com/files/jwysiwyg-0.5.zip unzip jwysiwyg-0.5.zip mv jwysiwyg-0.5.zip ../uploads if [ -f ~/public_html/sites/all/libraries/jwysiwyg/jquery.wysiwyg.js ] then echo Installed editor plug-in jWYSIWYG else echo Failed to install editor plug-in jWYSIWYG; exit 1 fi fi ##### Load editor library: OpenWYSIWYG if [ -f ~/public_html/sites/all/libraries/openwysiwyg/scripts/wysiwyg.js ] then echo Found editor plug-in OpenWYSIWYG else cd ~/public_html/sites/all/libraries wget www.openwebware.com/openwysiwyg_v1.4.7.zip unzip openwysiwyg_v1.4.7.zip mv openwysiwyg_v1.4.7.zip ./uploads mv openwysiwyg_v1.4.7 openwysiwyg if [ -f ~/public_html/sites/all/libraries/openwysiwyg/scripts/wysiwyg.js ] then echo Installed editor plug-in OpenWYSIWYG else echo Failed to install editor plug-in OpenWYSIWYG; exit 1 fi fi ##### Load editor library: Tiny MCE if [ -f ~/public_html/sites/all/libraries/tinymce/jscripts/tiny_mce/tiny_mce.js ] then echo Found editor plug-in TinyMCE else cd ~/public_html/sites/all/libraries wget downloads.sourceforge.net/project/tinymce/TinyMCE/3.2.7/tinymce_3_2_7.zip unzip tinymce_3_2_7.zip mv tinymce_3_2_7.zip ./uploads if [ -f ~/public_html/sites/all/libraries/tinymce/jscripts/tiny_mce/tiny_mce.js ] then echo Installed editor plug-in TinyMCE else echo Failed to install editor plug-in TinyMCE; exit 1 fi fi ##### Load editor library: YUI if [ -f ~/public_html/sites/all/libraries/yui/build/yahoo-dom-event/yahoo-dom-event.js ] then echo Found editor plug-in YUI else cd ~/public_html/sites/all/libraries wget developer.yahoo.com/yui/download unzip yui*.zip mv yui*.zip ./uploads if [ -f ~/public_html/sites/all/libraries/yui/build/yahoo-dom-event/yahoo-dom-event.js ] then echo Installed editor plug-in YUI else echo Failed to install editor plug-in YUI; exit 1 fi fi #********************************************************************************************************** ##### Load module: Advanced Help if [ -f ~/public_html/sites/all/modules/advanced_help/advanced_help.info ] then echo Found module Advanced Help else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/advanced_help-6.x-1.2.tar.gz tar -xf advanced_help-6.x-1.2.tar.gz mv advanced_help-6.x-1.2.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/advanced_help/advanced_help.info ] then echo Installed module Advanced Help else echo Failed to install module Advanced Help; exit 1 fi fi ##### Load module: Block Refresh if [ -f ~/public_html/sites/all/modules/advanced_help/advanced_help.info ] then echo Found module Block Refresh else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/block_refresh-6.x-1.0.tar.gz tar -xf block_refresh-6.x-1.0.tar.gz mv block_refresh-6.x-1.0.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/advanced_help/advanced_help.info ] then echo Installed module Block Refresh else echo Failed to install module Block Refresh; exit 1 fi fi ##### Load module: Calendar if [ -f ~/public_html/sites/all/modules/calendar/calendar.install ] then echo Found module Calendar else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/calendar-6.x-2.2.tar.gz tar -xf calendar-6.x-2.2.tar.gz mv calendar-6.x-2.2.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/calendar/calendar.install ] then echo Installed module Calendar else echo Failed to install module Calendar; exit 1 fi fi ##### Load module: Content Access if [ -f ~/public_html/sites/all/modules/content_access/content_access.info ] then echo Found module Content Access else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/content_access-6.x-1.2.tar.gz tar -xf content_access-6.x-1.2.tar.gz mv content_access-6.x-1.2.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/content_access/content_access.info ] then echo Installed module Content Access else echo Failed to install module Content Access; exit 1 fi fi ##### Load module: Content Construction Kit (CCK) if [ -f ~/public_html/sites/all/modules/cck/content.js ] then echo Found module CCK else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/cck-6.x-2.8.tar.gz tar -xf cck-6.x-2.8.tar.gz mv cck-6.x-2.8.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/cck/content.js ] then echo Installed module CCK else echo Failed to install module CCK; exit 1 fi fi ##### Load module: Content Management Filter (CMF) if [ -f ~/public_html/sites/all/modules/cmf/cmf.info ] then echo Found module CMF else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/cmf-6.x-2.0.tar.gz tar -xf cmf-6.x-2.0.tar.gz mv cmf-6.x-2.0.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/cmf/cmf.info ] then echo Installed module CMF else echo Failed to install module CMF; exit 1 fi fi ##### Load module: Content Templates (Contemplate) if [ -f ~/public_html/sites/all/modules/contemplate/contemplate.js ] then echo Found module Contemplate else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/contemplate-6.x-1.2.tar.gz tar -xf contemplate-6.x-1.2.tar.gz mv contemplate-6.x-1.2.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/contemplate/contemplate.js ] then echo Installed module Contemplate else echo Failed to install module Contemplate; exit 1 fi fi ##### Load module: Date if [ -f ~/public_html/sites/all/modules/date/date_api.js ] then echo Found module Date else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/date-6.x-2.6.tar.gz tar -xf date-6.x-2.6.tar.gz mv date-6.x-2.6.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/date/date_api.js ] then echo Installed module Date else echo Failed to install module Date; exit 1 fi fi ##### Load module: Drupal For Firebug if [ -f ~/public_html/sites/all/modules/drupalforfirebug/drupalforfirebug.module ] then echo Found module Drupal For Firebug else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/drupalforfirebug-6.x-1.4.tar.gz tar -xf drupalforfirebug-6.x-1.4.tar.gz mv drupalforfirebug-6.x-1.4.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/drupalforfirebug/drupalforfirebug.module ] then echo Installed module Drupal For Firebug else echo Failed to install module Drupal For Firebug; exit 1 fi fi ##### Load module: Dynamic Display Block if [ -f ~/public_html/sites/all/modules/ddblock/ddblock.install ] then echo Found module Dynamic Display Block else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/ddblock-6.x-1.0-rc6.tar.gz tar -xf ddblock-6.x-1.0-rc6.tar.gz mv ddblock-6.x-1.0-rc6.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/ddblock/ddblock.install ] then echo Installed module Dynamic Display Block else echo Failed to install module Dynamic Display Block; exit 1 fi fi ##### Load module: FileField if [ -f ~/public_html/sites/all/modules/filefield/filefield.js ] then echo Found module FileField else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/filefield-6.x-3.9.tar.gz tar -xf filefield-6.x-3.9.tar.gz mv filefield-6.x-3.9.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/filefield/filefield.js ] then echo Installed module FileField else echo Failed to install module FileField; exit 1 fi fi ##### Load module: Flash Node if [ -f ~/public_html/sites/all/modules/flashnode/flashnode.install ] then echo Found module FlashNode else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/flashnode-6.x-3.1.tar.gz tar -xf flashnode-6.x-3.1.tar.gz mv flashnode-6.x-3.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/flashnode/flashnode.install ] then echo Installed module FlashNode else echo Failed to install module FlashNode; exit 1 fi fi ##### Load module: Front Page if [ -f ~/public_html/sites/all/modules/front/front_page.module ] then echo Found module Front Page else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/front-6.x-1.2.tar.gz tar -xf front-6.x-1.2.tar.gz mv front-6.x-1.2.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/front/front_page.module ] then echo Installed module Front Page else echo Failed to install module Front Page; exit 1 fi fi ##### Load module: Geonames if [ -f ~/public_html/sites/all/modules/geonames/geonames.module ] then echo Found module Geonames else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/geonames-6.x-1.4.tar.gz tar -xf geonames-6.x-1.4.tar.gz mv geonames-6.x-1.4.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/geonames/geonames.module ] then echo Installed module Geonames else echo Failed to install module Geonames; exit 1 fi fi ##### Load module: GMap if [ -f ~/public_html/sites/all/modules/gmap/gmap.module ] then echo Found module GMap else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/gmap-6.x-1.1.tar.gz tar -xf gmap-6.x-1.1.tar.gz mv gmap-6.x-1.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/gmap/gmap.module ] then echo Installed module GMap else echo Failed to install module GMap; exit 1 fi fi ##### Load module: Google Analytics if [ -f ~/public_html/sites/all/modules/google_analytics/googleanalytics.js ] then echo Found module Google Analytics else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/google_analytics-6.x-3.1.tar.gz tar -xf google_analytics-6.x-3.1.tar.gz mv google_analytics-6.x-3.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/google_analytics/googleanalytics.js ] then echo Installed module Google Analytics else echo Failed to install module Google Analytics; exit 1 fi fi ##### Load module: Google Maps Tools if [ -f ~/public_html/sites/all/modules/gmaps/gmaps.module ] then echo Found module Google Maps Tools else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/gmaps-6.x-2.1.tar.gz tar -xf gmaps-6.x-2.1.tar.gz mv gmaps-6.x-2.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/gmaps/gmaps.module ] then echo Installed module Google Maps Tools else echo Failed to install module Google Maps Tools; exit 1 fi fi ##### Load module: ImageAPI if [ -f ~/public_html/sites/all/modules/imageapi/iimageapi.module ] then echo Found module ImageAPI else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/imageapi-6.x-1.9.tar.gz tar -xf imageapi-6.x-1.9.tar.gz mv imageapi-6.x-1.9.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/imageapi/iimageapi.module ] then echo Installed module ImageAPI else echo Failed to install module ImageAPI; exit 1 fi fi ##### Load module: ImageCache if [ -f ~/public_html/sites/all/modules/imagecache/imagecache.module ] then echo Found module ImageCache else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/imagecache-6.x-2.0-beta10.tar.gz tar -xf imagecache-6.x-2.0-beta10.tar.gz mv imagecache-6.x-2.0-beta10.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/imagecache/imagecache.module ] then echo Installed module ImageCache else echo Failed to install module ImageCache; exit 1 fi fi ##### Load module: ImageField if [ -f ~/public_html/sites/all/modules/imagefield/imagefield.module ] then echo Found module ImageField else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/imagefield-6.x-3.9.tar.gz tar -xf imagefield-6.x-3.9.tar.gz mv imagefield-6.x-3.9.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/imagefield/imagefield.module ] then echo Installed module ImageField else echo Failed to install module ImageField; exit 1 fi fi ##### Load module: IMCE if [ -f ~/public_html/sites/all/modules/imagefield/imagefield.module ] then echo Found module IMCE else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/imce-6.x-1.4.tar.gz tar -xf imce-6.x-1.4.tar.gz mv imce-6.x-1.4.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/imagefield/imagefield.module ] then echo Installed module IMCE else echo Failed to install module IMCE; exit 1 fi fi ##### Load module: iPaper if [ -f ~/public_html/sites/all/modules/ipaper/ipaper.module ] then echo Found module iPaper else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/ipaper-6.x-1.1.tar.gz tar -xf ipaper-6.x-1.1.tar.gz mv ipaper-6.x-1.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/ipaper/ipaper.module ] then echo Installed module iPaper else echo Failed to install module iPaper; exit 1 fi fi ##### Load module: Javascript Countdown Timer if [ -f ~/public_html/sites/all/modules/countdowntimer/countdowntimer.module ] then echo Found module CountdownTimer else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/countdowntimer-6.x-2.21.tar.gz tar -xf countdowntimer-6.x-2.21.tar.gz mv countdowntimer-6.x-2.21.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/countdowntimer/countdowntimer.module ] then echo Installed module CountdownTimer else echo Failed to install module CountdownTimer; exit 1 fi fi ##### Load module: jQuery UI ******************** Check! if [ -f ~/public_html/sites/all/modules/jquery_ui/jquery.ui/jquery-1.2.6.js ] then echo Found module jQuery UI else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/jquery_ui-6.x-1.4.tar.gz tar -xf jquery_ui-6.x-1.4.tar.gz mv jquery_ui-6.x-1.4.tar.gz ./uploads cd jquery_ui wget jquery-ui.googlecode.com/files/jquery.ui-1.6.zip unzip jquery.ui-1.6.zip mv jquery.ui-1.6.zip ../uploads mv jquery.ui-1.6 jquery.ui if [ -f ~/public_html/sites/all/modules/jquery_ui/jquery.ui/jquery-1.2.6.js ] then echo Installed module jQuery UI else echo Failed to install module jQuery UI; exit 1 fi fi ##### Load module: jQuery Update if [ -f ~/public_html/sites/all/modules/jquery_update/jquery_update.install ] then echo Found module jQuery Update else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/jquery_update-6.x-1.1.tar.gz tar -xf jquery_update-6.x-1.1.tar.gz mv jquery_update-6.x-1.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/jquery_update/jquery_update.install ] then echo Installed module jQuery Update else echo Failed to install module jQuery Update; exit 1 fi fi ##### Load module: Letters if [ -f ~/public_html/sites/all/modules/jquery_update/jquery_update.install ] then echo Found module Letters else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/letters-6.x-1.5.tar.gz tar -xf letters-6.x-1.5.tar.gz mv letters-6.x-1.5.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/jquery_update/jquery_update.install ] then echo Installed module Letters else echo Failed to install module Letters; exit 1 fi fi ##### Load module: Location if [ -f ~/public_html/sites/all/modules/location/location.module ] then echo Found module Location else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/location-6.x-3.1.tar.gz tar -xf location-6.x-3.1.tar.gz mv location-6.x-3.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/location/location.module ] then echo Installed module Location else echo Failed to install module Location; exit 1 fi fi ##### Load Module: Mailhandler if [ -f ~/public_html/sites/all/modules/mailhandler/mailhandler.module ] then echo Found module Mailhandler else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/mailhandler-6.x-1.11.tar.gz tar -xf mailhandler-6.x-1.11.tar.gz mv mailhandler-6.x-1.11.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/mailhandler/mailhandler.module ] then echo Installed module Mailhandler else echo Failed to install module Mailhandler; exit 1 fi fi ##### Load module: Mime Detect if [ -f ~/public_html/sites/all/modules/mimedetect/mimedetect.install ] then echo Found module MimeDetect else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/mimedetect-6.x-1.3.tar.gz tar -xf mimedetect-6.x-1.3.tar.gz mv mimedetect-6.x-1.3.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/mimedetect/mimedetect.install ] then echo Installed module MimeDetect else echo Failed to install module MimeDetect; exit 1 fi fi ##### Load module: Module Grants if [ -f ~/public_html/sites/all/modules/module_grants/module_grants.module ] then echo Found module Module Grants else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/module_grants-6.x-3.6.tar.gz tar -xf module_grants-6.x-3.6.tar.gz mv module_grants-6.x-3.6.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/module_grants/module_grants.module ] then echo Installed module Module Grants else echo Failed to install module Module Grants; exit 1 fi fi ##### Load module: Mollom if [ -f ~/public_html/sites/all/modules/mollom/mollom.js ] then echo Found module Mollom else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/mollom-6.x-1.15.tar.gz tar -xf mollom-6.x-1.15.tar.gz mv mollom-6.x-1.15.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/mollom/mollom.js ] then echo Installed module Mollom else echo Failed to install module Mollom; exit 1 fi fi ##### Load module: Nodewords if [ -f ~/public_html/sites/all/modules/nodewords/nodewords.install ] then echo Found module Nodewords else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/nodewords-6.x-1.11.tar.gz tar -xf nodewords-6.x-1.11.tar.gz mv nodewords-6.x-1.11.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/nodewords/nodewords.install ] then echo Installed module Nodewords else echo Failed to install module Nodewords; exit 1 fi fi ##### Load module: Profile CSV if [ -f ~/public_html/sites/all/modules/profile_csv/profile_csv.module ] then echo Found module Profile CSV else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/profile_csv-6.x-1.1.tar.gz tar -xf profile_csv-6.x-1.1.tar.gz mv profile_csv-6.x-1.1.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/profile_csv/profile_csv.module ] then echo Installed module Profile CSV else echo Failed to install module Profile CSV; exit 1 fi fi ##### Load module: Quick Tabs if [ -f ~/public_html/sites/all/modules/quicktabs/js/quicktabs.js ] then echo Found module Quick Tabs else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/quicktabs-6.x-2.0-rc5.tar.gz tar -xf quicktabs-6.x-2.0-rc5.tar.gz mv quicktabs-6.x-2.0-rc5.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/quicktabs/js/quicktabs.js ] then echo Installed module Quick Tabs else echo Failed to install module Quick Tabs; exit 1 fi fi ##### Load module: Quotes if [ -f ~/public_html/sites/all/modules/quotes/quotes.js ] then echo Found module Quotes else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/quotes-6.x-1.40.tar.gz tar -xf quotes-6.x-1.40.tar.gz mv quotes-6.x-1.40.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/quotes/quotes.js ] then echo Installed module Quotes else echo Failed to install module Quick Tabs; exit 1 fi fi ##### Load module: Read More if [ -f ~/public_html/sites/all/modules/ed_readmore/ed_readmore.info ] then echo Found module ReadMore else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/ed_readmore-6.x-5.0-rc7.tar.gz tar -xf ed_readmore-6.x-5.0-rc7.tar.gz mv ed_readmore-6.x-5.0-rc7.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/ed_readmore/ed_readmore.info ] then echo Installed module ReadMore else echo Failed to install module ReadMore; exit 1 fi fi ##### Load module: Service Links if [ -f ~/public_html/sites/all/modules/service_links/service_links.install ] then echo Found module Service Links else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/service_links-6.x-2.0.tar.gz tar -xf service_links-6.x-2.0.tar.gz mv service_links-6.x-2.0.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/service_links/service_links.install ] then echo Installed module Service Links else echo Failed to install module Service Links; exit 1 fi fi ##### Load module: ShareThis if [ -f ~/public_html/sites/all/modules/sharethis/sharethis.module ] then echo Found module ShareThis else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/sharethis-6.x-1.3-3.tar.gz tar -xf sharethis-6.x-1.3-3.tar.gz mv sharethis-6.x-1.3-3.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/sharethis/sharethis.module ] then echo Installed module ShareThis else echo Failed to install module ShareThis; exit 1 fi fi ##### Load module: Signup if [ -f ~/public_html/sites/all/modules/signup/signup.install ] then echo Found module Signup else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/signup-6.x-1.0-rc6.tar.gz tar -xf signup-6.x-1.0-rc6.tar.gz mv signup-6.x-1.0-rc6.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/signup/signup.install ] then echo Installed module Signup else echo Failed to install module Signup; exit 1 fi fi ##### Load module: SimpleMenu if [ -f ~/public_html/sites/all/modules/simplemenu/simplemenu.js ] then echo Found module SimpleMenu else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/simplemenu-6.x-1.4.tar.gz tar -xf simplemenu-6.x-1.4.tar.gz mv simplemenu-6.x-1.4.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/simplemenu/simplemenu.js ] then echo Installed module SimpleMenu else echo Failed to install module SimpleMenu; exit 1 fi fi ##### Load module: Splash if [ -f ~/public_html/sites/all/modules/splash/splash.module ] then echo Found module Splash else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/splash-6.x-2.6.tar.gz tar -xf splash-6.x-2.6.tar.gz mv splash-6.x-2.6.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/splash/splash.module ] then echo Installed module Splash else echo Failed to install module Splash; exit 1 fi fi ##### Load module: SWF Tools if [ -f ~/public_html/sites/all/modules/swftools/swftools.install ] then echo Found module SWFTools else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/swftools-6.x-2.5.tar.gz tar -xf swftools-6.x-2.5.tar.gz mv swftools-6.x-2.5.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/swftools/swftools.install ] then echo Installed module SWFTools else echo Failed to install module SWFTools; exit 1 fi fi ##### Load module: Thickbox if [ -f ~/public_html/sites/all/modules/thickbox/thickbox.js ] then echo Found module ThickBox else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/thickbox-6.x-1.6.tar.gz tar -xf thickbox-6.x-1.6.tar.gz mv thickbox-6.x-1.6.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/thickbox/thickbox.js ] then echo Installed module ThickBox else echo Failed to install module ThickBox; exit 1 fi fi ##### Load module: Token if [ -f ~/public_html/sites/all/modules/token/token.module ] then echo Found module Token else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/token-6.x-1.15.tar.gz tar -xf token-6.x-1.15.tar.gz mv token-6.x-1.15.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/token/token.module ] then echo Installed module Token else echo Failed to install module Token; exit 1 fi fi ##### Load module: Twitter if [ -f ~/public_html/sites/all/modules/twitter/twitter.js ] then echo Found module Twitter else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/twitter-6.x-2.6.tar.gz tar -xf twitter-6.x-2.6.tar.gz mv twitter-6.x-2.6.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/twitter/twitter.js ] then echo Installed module Twitter else echo Failed to install module Twitter; exit 1 fi fi ##### Load module: Views if [ -f ~/public_html/sites/all/modules/views/js/ajax_view.js ] then echo Found module Views else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/views-6.x-2.12.tar.gz tar -xf views-6.x-2.12.tar.gz mv views-6.x-2.12.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/views/js/ajax_view.js ] then echo Installed module Views else echo Failed to install module Views; exit 1 fi fi ##### Load module: Visibility API if [ -f ~/public_html/sites/all/modules/visibility_api/visibility_api.info ] then echo Found module Visibility API else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/visibility_api-6.x-1.0.tar.gz tar -xf visibility_api-6.x-1.0.tar.gz mv visibility_api-6.x-1.0.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/visibility_api/visibility_api.info ] then echo Installed module Visibility API else echo Failed to install module Visibility API; exit 1 fi fi ##### Load module: Workflow if [ -f ~/public_html/sites/all/modules/workflow/workflow.install ] then echo Found module Workflow else cd ~/public_html/sites/all/modules wget ftp.drupal.org/files/projects/workflow-6.x-1.5.tar.gz tar -xf workflow-6.x-1.5.tar.gz mv workflow-6.x-1.5.tar.gz ./uploads if [ -f ~/public_html/sites/all/modules/workflow/workflow.install ] then echo Installed module Workflow else echo Failed to install module Workflow; exit 1 fi fi echo Script completed.