diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-10-29 21:52:44 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-10-29 21:52:44 (GMT) |
commit | 0b5ac212468b7ab376d3e08cef4b79d839891959 (patch) | |
tree | 88455f377506a23d2820d6a3bd7b6878222d392d | |
parent | f51fa2f8156f99937da9f6e9f5b63950198919f6 (diff) | |
download | linhes_pkgbuild-0b5ac212468b7ab376d3e08cef4b79d839891959.zip linhes_pkgbuild-0b5ac212468b7ab376d3e08cef4b79d839891959.tar.gz linhes_pkgbuild-0b5ac212468b7ab376d3e08cef4b79d839891959.tar.bz2 |
LinHES-system: remove switch_web.sh. supplemental-web is default
-rwxr-xr-x | abs/core/LinHES-system/PKGBUILD | 5 | ||||
-rw-r--r-- | abs/core/LinHES-system/switch_web.sh | 29 |
2 files changed, 2 insertions, 32 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD index 71c7ae1..c8d791e 100755 --- a/abs/core/LinHES-system/PKGBUILD +++ b/abs/core/LinHES-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-system pkgver=8.0 -pkgrel=29 +pkgrel=30 arch=('i686' 'x86_64') install=system.install pkgdesc="Everything that makes LinHES an automated system" @@ -18,7 +18,7 @@ binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh lh_system_backup lh_system_backup_job lh_system_restore_job lh_system_host_update lh_system_all_host_update add_storage.py diskspace.sh cacheclean lh_backend_control.sh - switch_web.sh create_media_dirs.sh msg_client.py msg_daemon.py + create_media_dirs.sh msg_client.py msg_daemon.py gen_is_xml.py gen_lib_xml.py gen_light_include.py gen_game_xml.py misc_recent_recordings.pl misc_status_config.py misc_status_info.sh misc_upcoming_recordings.pl misc_which_recorder.pl @@ -98,7 +98,6 @@ md5sums=('5ee78704cab0e88ec58d1aab821fc1aa' '2c005d95312018bef80092136f80f254' '6519d209e151cdc39ae7e1091d189c3e' '8f474e019d5fcb775497aca355d61b0b' - '4a3cd8f9b33b2b86fdba47a8f1fa2859' '16f079dab35dde6efd55bf6cf4e2fb2f' '3e60b17892e5b8214d47dcfddf5215a4' '57ec994cc3964a10c00580e89ebcae35' diff --git a/abs/core/LinHES-system/switch_web.sh b/abs/core/LinHES-system/switch_web.sh deleted file mode 100644 index bf57764..0000000 --- a/abs/core/LinHES-system/switch_web.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -#This script is used to switch the default homepage between supplementalweb and -#the standard local webpage -. /etc/systemconfig -DATADIR=/data/srv/httpd/htdocs - -function rmindex { - if [ -L $DATADIR/index.html ] - then - rm -f $DATADIR/index.html - fi -} - -if [ $SystemType = Master_backend -o $SystemType = Standalone ] -then - if [ x$1 = xsupplemental ] - then - rmindex - ln -s $DATADIR/alt_index.html $DATADIR/index.html - else - rmindex - ln -s $DATADIR/index.htm $DATADIR/index.html - fi -else - echo "This service is only available for StandAlone or Master_backend LinHES systems" - -fi - - |