mark script as executable once copied

This commit is contained in:
Akbar Rahman 2024-01-02 03:48:20 +00:00
parent 36f40f3269
commit 0a0bd542fc
Signed by: alvierahman90
GPG Key ID: 6217899F07CA2BDF

View File

@ -1,6 +1,8 @@
install: install:
cp gronk_add_uuid.py /usr/local/bin cp gronk_add_uuid.py /usr/local/bin
sed "s/GRONK_COMMIT = \"dev\"/GRONK_COMMIT = \"$$(git rev-parse --short HEAD)\"/" gronk.py > /usr/local/bin/gronk.py sed "s/GRONK_COMMIT = \"dev\"/GRONK_COMMIT = \"$$(git rev-parse --short HEAD)\"/" gronk.py > /usr/local/bin/gronk.py
chmod +x /usr/local/bin/gronk.py
chmod +x /usr/local/bin/gronk_add_uuid.py
mkdir -p /opt/gronk mkdir -p /opt/gronk
cp -r templates js css /opt/gronk cp -r templates js css /opt/gronk
pip3 install -r requirements.txt pip3 install -r requirements.txt