mirror of
https://github.com/thiagoralves/OpenPLC_Editor.git
synced 2025-05-09 00:21:53 +08:00

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.
8 lines
238 B
Bash
Executable File
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
|