Move config directory from /usr/etc to /etc and fixed tests

This commit is contained in:
2025-03-13 21:50:32 +02:00
parent 2dfe9d199b
commit af5111d7fa
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: fish name: fish
description: A smart and user-friendly command line shell description: A smart and user-friendly command line shell
version: 3.7.1 version: 3.7.1
revision: 2 revision: 3
url: https://fishshell.com/ url: https://fishshell.com/
license: GPL2 license: GPL2
architecture: any architecture: any
+2 -2
View File
@@ -17,7 +17,7 @@ prepare() {
build() { build() {
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr .. cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc ..
make make
} }
@@ -25,7 +25,7 @@ build() {
# This function is used to run tests to verify the package has been compiled correctly # This function is used to run tests to verify the package has been compiled correctly
check() { check() {
cd build cd build
make check make test
} }
# The package function is executed in the source directory # The package function is executed in the source directory