Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PKGBUILD/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
2 changes: 1 addition & 1 deletion PKGBUILD/PKGBUILD-dev
Original file line number Diff line number Diff line change
Expand Up @@ -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"


}
Expand Down
11 changes: 3 additions & 8 deletions PKGBUILD/PKGBUILD-git
Original file line number Diff line number Diff line change
@@ -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')
Expand Down Expand Up @@ -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"
}


11 changes: 4 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ if [[ "$action" == "1" ]]; then
sudo pacman -Rns arch-store
wget https://raw.githubusercontent.com/samuobe/Arch-Store/main/PKGBUILD/PKGBUILD-git
mv PKGBUILD-git PKGBUILD
makepkg -si
makepkg -si
rm PKGBUILD
echo "FINISHED!"
fi

sudo touch /usr/share/arch-store/script

sudo touch /usr/share/arch-store/script
rm /usr/share/arch-store/AUR

cd ..
rm -rf arch-store-install
Expand All @@ -63,14 +60,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"

2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down