Changing install dirs
parent
e51e935c11
commit
212b4e9eac
|
@ -31,7 +31,7 @@ add_user_ogrepository() {
|
||||||
|
|
||||||
create_directories() {
|
create_directories() {
|
||||||
mkdir -p $INSTALL_DIR
|
mkdir -p $INSTALL_DIR
|
||||||
mkdir -p $INSTALL_DIR/images $INSTALL_DIR/images_trash/ $INSTALL_DIR/bin/ $INSTALL_DIR/etc/ $INSTALL_DIR/log/ $INSTALL_DIR/api/
|
mkdir -p $INSTALL_DIR/images $INSTALL_DIR/images_trash/ $INSTALL_DIR/bin/clients $INSTALL_DIR/etc/ $INSTALL_DIR/log/ $INSTALL_DIR/api/
|
||||||
chown -R ogrepository:ogrepository $INSTALL_DIR
|
chown -R ogrepository:ogrepository $INSTALL_DIR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,9 +57,9 @@ install_ogrepo-api_service() {
|
||||||
|
|
||||||
install_files() {
|
install_files() {
|
||||||
install $DOWNLOAD_DIR/bin/* $INSTALL_DIR/bin/
|
install $DOWNLOAD_DIR/bin/* $INSTALL_DIR/bin/
|
||||||
install $DOWNLOAD_DIR/bin/clients/* $INSTALL_DIR/bin/clients
|
install $DOWNLOAD_DIR/bin/clients/* $INSTALL_DIR/bin/clients/
|
||||||
install $DOWNLOAD_DIR/etc/* $INSTALL_DIR/etc/
|
install $DOWNLOAD_DIR/etc/* $INSTALL_DIR/etc/
|
||||||
install $DOWNLOAD_DIR/api/* $INSTALL_DIR/api
|
install $DOWNLOAD_DIR/api/* $INSTALL_DIR/api/
|
||||||
chown -R ogrepository:ogrepository $INSTALL_DIR
|
chown -R ogrepository:ogrepository $INSTALL_DIR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue