mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
check for env variabel SEEDDMS_HOME
This commit is contained in:
parent
77ee1546d5
commit
e0ae06441e
|
@ -1,2 +1,6 @@
|
|||
#!/bin/sh
|
||||
/usr/bin/php -f /usr/share/seeddms/utils/adddoc.php -- $*
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/adddoc.php -- $*
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#!/bin/sh
|
||||
/usr/bin/php -f /usr/share/seeddms/utils/createfolder.php -- $*
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/createfolder.php -- $*
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#!/bin/sh
|
||||
/usr/bin/php -f /usr/share/seeddms/utils/indexer.php -- $*
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/indexer.php -- $*
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#!/bin/sh
|
||||
/usr/bin/php -f /usr/share/seeddms/utils/xmldump -- $*
|
||||
if [ -z ${SEEDDMS_HOME+x} ]; then
|
||||
echo "Please set SEEDDMS_HOME before running this script";
|
||||
exit 1;
|
||||
fi
|
||||
php -f ${SEEDDMS_HOME}/utils/xmldump -- $*
|
||||
|
|
Loading…
Reference in New Issue
Block a user