mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
gh actions: configure correct path for packaging
the follow up
This commit is contained in:
@@ -28,8 +28,8 @@ jobs:
|
||||
cmake
|
||||
-DSET_TWEAK=Off
|
||||
-DBUILD_TESTS=On
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="/etc"
|
||||
-DCMAKE_INSTALL_PREFIX="usr"
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="etc"
|
||||
.
|
||||
|
||||
- name: build project
|
||||
|
||||
@@ -101,8 +101,8 @@ If pkg-config fails to find the headers for a library listed in [dependencies](#
|
||||
#### Build DEB / RPM package:
|
||||
```bash
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="/etc"
|
||||
-DCMAKE_INSTALL_PREFIX="usr" \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="etc"
|
||||
|
||||
cmake --build . --target fastfetch
|
||||
```
|
||||
@@ -110,8 +110,8 @@ cmake --build . --target fastfetch
|
||||
#### Install directly:
|
||||
```bash
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr/local" \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="/etc"
|
||||
-DCMAKE_INSTALL_PREFIX="usr/local" \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="etc"
|
||||
|
||||
sudo cmake --install .
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user