Explorar o código

Merge pull request #63 from keachi/install_directory

do not overwrite an existing file
Francesco Palmarini %!s(int64=6) %!d(string=hai) anos
pai
achega
73df1ff98e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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