Merge pull request 'Updated permissions for all binary files' (#4) from fix_installer into main

Reviewed-on: #4
deb-packages
Nicolas Arenas 2024-11-13 23:27:00 +01:00
commit 752aee1212
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ install_files() {
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 $OGUSER:$OGUSER $INSTALL_DIR
chown -R $OGUSER:$OGUSER $INSTALL_DIR
chmod 755 $INSTALL_DIR/bin/*
echo IPlocal="$REPO_IP" > $INSTALL_DIR/etc/ogAdmRepo.cfg
sudo chown $OGUSER:$OGUSER $INSTALL_DIR/etc/ogAdmRepo.cfg
}