From d9ab76864e7f68804afd24477d473a474e4cc29b Mon Sep 17 00:00:00 2001 From: Samuobe Date: Tue, 16 Sep 2025 17:50:56 +0200 Subject: [PATCH] Updated Installation --- PKGBUILD/PKGBUILD | 2 +- PKGBUILD/PKGBUILD-dev | 2 +- PKGBUILD/PKGBUILD-git | 11 +++-------- install.sh | 7 +++---- settings.py | 2 +- 5 files changed, 9 insertions(+), 15 deletions(-) diff --git a/PKGBUILD/PKGBUILD b/PKGBUILD/PKGBUILD index d6c5c23..592ac41 100644 --- a/PKGBUILD/PKGBUILD +++ b/PKGBUILD/PKGBUILD @@ -31,6 +31,6 @@ EOF #version type install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/stable" - rm -f "$pkgdir/usr/share/arch-store/script" + install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/AUR" } diff --git a/PKGBUILD/PKGBUILD-dev b/PKGBUILD/PKGBUILD-dev index ef1f0fa..c1da739 100644 --- a/PKGBUILD/PKGBUILD-dev +++ b/PKGBUILD/PKGBUILD-dev @@ -42,7 +42,7 @@ EOF #version type install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/beta" - rm -f "$pkgdir/usr/share/arch-store/script" + install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/AUR" } diff --git a/PKGBUILD/PKGBUILD-git b/PKGBUILD/PKGBUILD-git index 449a7f8..3d64503 100644 --- a/PKGBUILD/PKGBUILD-git +++ b/PKGBUILD/PKGBUILD-git @@ -1,7 +1,7 @@ # Maintainer: Samuobe samuobe@ik.me pkgname=arch-store-git -pkgver=2.0.1 +pkgver=2.0.2.26.g224ca52 pkgrel=1 pkgdesc="A graphical app for managing your programs with pacman, AUR, flatpak, and appimage" arch=('any') @@ -38,12 +38,7 @@ EOF # File .desktop install -Dm644 "$srcdir/Arch-Store/arch-store.desktop" "$pkgdir/usr/share/applications/arch-store.desktop" - - #version type - install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/beta" - - rm -f "$pkgdir/usr/share/arch-store/script" - - + install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/AUR" } + diff --git a/install.sh b/install.sh index 1520557..c5b0866 100644 --- a/install.sh +++ b/install.sh @@ -31,12 +31,11 @@ if [[ "$action" == "1" ]]; then wget https://raw.githubusercontent.com/samuobe/Arch-Store/main/PKGBUILD/PKGBUILD-git mv PKGBUILD-git PKGBUILD makepkg -si + rm /usr/share/arch-store/AUR rm PKGBUILD echo "FINISHED!" fi - sudo touch /usr/share/arch-store/script - cd .. rm -rf arch-store-install @@ -60,14 +59,14 @@ elif [[ "$action" == "5" ]]; then mv PKGBUILD-dev PKGBUILD makepkg -si rm PKGBUILD - sudo touch /usr/share/arch-store/script + rm /usr/share/arch-store/AUR echo "FINISHED!" - cd .. rm -rf arch-store-install fi + rm -- "$0" diff --git a/settings.py b/settings.py index fc1a319..6608247 100644 --- a/settings.py +++ b/settings.py @@ -40,7 +40,7 @@ def open_setting(language, working_dir, avaible_languages, version): global pacman_status, aur_status, flatpak_status, aur_method, new_language, app_image_dir load_config_data(working_dir, avaible_languages, language) - if os.path.isfile("/usr/share/arch-store/script"): + if not os.path.isfile("/usr/share/arch-store/AUR"): script_installation_status = True else: script_installation_status = False