diff --git a/app/postinstallscript.sh b/app/postinstallscript.sh index 28500c5..99b5e90 100644 --- a/app/postinstallscript.sh +++ b/app/postinstallscript.sh @@ -37,17 +37,6 @@ EOF # reload daemon for service file changes to take effect systemctl daemon-reload -# Create docker symbolic link -mkdir -p /usr/local/bin -ln -s /usr/local/packages/dockerdwrapperwithcompose/docker /usr/local/bin/docker - -# Create docker-compose symbolic link -mkdir -p /usr/local/lib/docker/cli-plugins -ln -s /usr/local/packages/dockerdwrapperwithcompose/docker-compose /usr/local/lib/docker/cli-plugins/docker-compose - -# Create docker socket symbolic link -ln -s /var/run/user/"$_uid"/docker.sock /var/run/docker.sock - # *** non-root user should be able to do this **** # Move the daemon.json file into localdata folder diff --git a/app/preuninstallscript.sh b/app/preuninstallscript.sh index e3066ac..a189c83 100644 --- a/app/preuninstallscript.sh +++ b/app/preuninstallscript.sh @@ -5,14 +5,6 @@ if [ "$(id -un)" != "root" ]; then exit 77 # EX_NOPERM fi -# Remove docker symbolic link -rm /usr/local/bin/docker - -# Remove docker-compose symbolic link -rm /usr/local/lib/docker/cli-plugins/docker-compose - -rm /var/run/docker.sock - # *** root user required **** # TODO Add a check of who the user is and log warning if not root