Merge pull request #63 from keachi/install_directory

do not overwrite an existing file
This commit is contained in:
Francesco Palmarini 2018-10-31 14:07:05 +01:00 committed by GitHub
commit 73df1ff98e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ echo "Copying systemd service file..."
cp systemd/lenovo_fix.service /etc/systemd/system
echo "Building virtualenv..."
cp requirements.txt lenovo_fix.py mmio.py "$INSTALL_DIR"
cp -n requirements.txt lenovo_fix.py mmio.py "$INSTALL_DIR"
cd "$INSTALL_DIR"
/usr/bin/python3 -m venv venv
. venv/bin/activate