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() {