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