.
This commit is contained in:
@ -16,28 +16,6 @@ if exist "%directoryPath%" (
|
||||
|
||||
exit /b
|
||||
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
REM Define the path to the LibreOffice installation
|
||||
set libreOfficePath="C:\Program Files\LibreOffice\program\soffice.exe"
|
||||
|
||||
REM Check if the script is running on reception2
|
||||
if /I "%COMPUTERNAME%" NEQ "reception2" (
|
||||
echo This script must be run on reception2.
|
||||
exit /b
|
||||
)
|
||||
|
||||
REM Check if LibreOffice is installed
|
||||
if exist %libreOfficePath% (
|
||||
echo LibreOffice is installed.
|
||||
) else (
|
||||
echo LibreOffice is not installed.
|
||||
)
|
||||
|
||||
endlocal
|
||||
exit /b
|
||||
|
||||
|
||||
|
||||
@echo off
|
||||
|
||||
Reference in New Issue
Block a user