Quellcode durchsuchen

do not overwrite an existing file

Tobias Rueetschi vor 6 Jahren
Ursprung
Commit
4914021253
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -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