need to check for the symlink to facilitate destruction and creation

This commit is contained in:
thelamer 2024-07-08 21:09:05 -04:00
parent 462c8250c9
commit eeee9de950

View file

@ -20,7 +20,7 @@ if [ ! -f "/opt/kasm/certs/kasm_wizard.crt" ]; then
fi
# Create plugin directory
if [ ! -d "/opt/docker-plugins" ]; then
if [ ! -L "/var/lib/docker-plugins" ]; then
mkdir -p /opt/docker-plugins
ln -s /opt/docker-plugins /var/lib/docker-plugins
mkdir -p /var/lib/docker-plugins/rclone/config