saidsay-so/acpi_ec

Fatal error running install.sh

Clara81221 opened this issue · 6 comments

$ sudo bash install.sh
fatal: not a git repository (or any of the parent directories): .git

MSI Creator Z16P // Kali Linux

Sudo ./install.sh

?

No luck. Same error. The file is there too, I checked.

hmm, I believe all I did was extract it all to a folder from the 1.0.4 source release and ran the script.
on debian.

been a while.

Yea it seems like it should work but I'm not sure why it's not

The installation script as is would require the .git directory to be bundled into the zip, which is not.

Replace line 36 in install.sh as following for a temporary workaround

- VERSION=$(git describe --tags --abbrev=0)
+ VERSION="1.0.4"

Installation worked, thank you