From 09d843d47f5a977dd4e47ef8c594609c34cba9fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sat, 8 Jul 2023 09:30:13 +0800 Subject: [PATCH] CMake: don't install global config file No one use it. Note we just don't install the default config file with `make install`; `/etc/fastfetch/config.conf` is still looked at runtime. Fix #491 --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b93e61332..9d06a6e17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -845,12 +845,6 @@ install( DESTINATION "${CMAKE_INSTALL_BINDIR}" ) -install( - FILES "${CMAKE_SOURCE_DIR}/src/data/config_system.txt" - DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/${CMAKE_PROJECT_NAME}" - RENAME "config.conf" -) - install( FILES "${CMAKE_SOURCE_DIR}/completions/bash" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/bash-completion/completions"