From 72bf7a66e77eb0211145e48f723e1c4a4ea147ba Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 11 Jan 2021 15:17:01 +0100 Subject: [PATCH] xournalpp-git: remove crazy stuff --- xournalpp-git/PKGBUILD | 7 +------ xournalpp-git/xournalpp.install | 11 +---------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/xournalpp-git/PKGBUILD b/xournalpp-git/PKGBUILD index e48cde2..003b5b4 100644 --- a/xournalpp-git/PKGBUILD +++ b/xournalpp-git/PKGBUILD @@ -28,14 +28,9 @@ prepare() { } build() { - if [ -z "$XDG_CONFIG_HOME" ]; then - configdir=".config" - else - configdir="$(realpath --relative-to="$HOME" "$XDG_CONFIG_HOME")" - fi cd "${srcdir}/${_pkgname}/build" - cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DDEV_CONFIG_DIR="$configdir/xournalpp" -DENABLE_CPPUNIT=ON .. + cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DENABLE_CPPUNIT=ON .. cmake --build . --target pot cmake --build . --target translations cmake --build . diff --git a/xournalpp-git/xournalpp.install b/xournalpp-git/xournalpp.install index d2b75d7..22d91f4 100644 --- a/xournalpp-git/xournalpp.install +++ b/xournalpp-git/xournalpp.install @@ -3,16 +3,7 @@ post_install() { } post_upgrade() { - configs=$(find /home/ /root/ -maxdepth 2 -name ".xournalpp" 2> /dev/null) - if ! [ -z "$configs" ]; then - cat << EOF - -WARNING: Default config folder moved from \$HOME/.xournalpp to \$HOME/\$XDG_CONFIG_HOME/xournalpp (default .config) -Found following config paths: -EOF - echo "$configs" - echo - fi + : } post_remove() {