1
0
mirror of https://github.com/Segate-ekb/publicator.git synced 2025-02-22 18:42:19 +02:00
publicator/webserver/scripts/create-symlink-to-current-1cv8.sh
2023-03-16 15:02:07 +03:00

8 lines
302 B
Bash

#!/bin/bash
set -e
platform_path=$(find / -type f -name "1cv8c" -exec dirname {} \; -or -type f -name "1cv8" -exec dirname {} \; -or -type f -name "ragent" -exec dirname {} \; -or -type f -name "crserver" -exec dirname {} \; | uniq)
mkdir -p /opt/1cv8 \
&& ln -s $platform_path /opt/1cv8/current