mirror of
https://github.com/erpalma/throttled.git
synced 2025-12-06 07:01:59 +01:00
do not overwrite an existing file
This commit is contained in:
parent
79f1db481c
commit
4914021253
|
|
@ -20,7 +20,7 @@ echo "Copying systemd service file..."
|
||||||
cp systemd/lenovo_fix.service /etc/systemd/system
|
cp systemd/lenovo_fix.service /etc/systemd/system
|
||||||
|
|
||||||
echo "Building virtualenv..."
|
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"
|
cd "$INSTALL_DIR"
|
||||||
/usr/bin/python3 -m venv venv
|
/usr/bin/python3 -m venv venv
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue