OpenPLC_Editor/distclean.sh
joluxer 2cb6aba5cb Provide an installation script for Gentoo-Linux.
This does not install system packages, but checks for their existence.
Tested with Gentoo per 2024-07-20, Python-3.12 and other packages
as stated in the package version slots for their checks.

Provide a distclean script for cleanup after installation, before
git commit.
2024-07-23 21:53:37 +02:00

8 lines
238 B
Bash
Executable File

#!/bin/bash
OPENPLC_DIR="$(dirname "$(readlink -f "$0")")"
git checkout -- ${OPENPLC_DIR}/editor/arduino/ ${OPENPLC_DIR}/matiec/
git clean -fdx ${OPENPLC_DIR}/matiec/ ${OPENPLC_DIR}/editor/arduino
rm -f ${OPENPLC_DIR}/openplc_editor.sh