Changeset 22143 for branches/version-2_12-dev
- Timestamp:
- 2012/12/17 01:27:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/eccube_install.sh
r22133 r22143 109 109 # PostgreSQL 110 110 echo "dropdb..." 111 su ${PGUSER} -c "${DROPDB} ${DBNAME}"111 sudo -u ${PGUSER} ${DROPDB} ${DBNAME} 112 112 echo "createdb..." 113 su ${PGUSER} -c "${CREATEDB} -U ${DBUSER} ${DBNAME}"113 sudo -u ${PGUSER} ${CREATEDB} -U ${DBUSER} ${DBNAME} 114 114 echo "create table..." 115 su ${PGUSER} -c "${PSQL} -U ${DBUSER} -f ${SQL_DIR}/create_table_pgsql.sql ${DBNAME}"115 sudo -u ${PGUSER} ${PSQL} -U ${DBUSER} -f ${SQL_DIR}/create_table_pgsql.sql ${DBNAME} 116 116 echo "insert data..." 117 su ${PGUSER} -c "${PSQL} -U ${DBUSER} -f ${SQL_DIR}/insert_data.sql ${DBNAME}"117 sudo -u ${PGUSER} ${PSQL} -U ${DBUSER} -f ${SQL_DIR}/insert_data.sql ${DBNAME} 118 118 echo "execute optional SQL..." 119 su ${PGUSER} -c "${PSQL} -U ${DBUSER} -f ${OPTIONAL_SQL_FILE} ${DBNAME}"119 sudo -u ${PGUSER} ${PSQL} -U ${DBUSER} -f ${OPTIONAL_SQL_FILE} ${DBNAME} 120 120 ;; 121 121 "mysql" )
Note: See TracChangeset
for help on using the changeset viewer.