Skip to content

Commit 18ea313

Browse files
authored
Merge pull request #65 from Samuobe/dev
FIxed version
2 parents 224ca52 + 706a9a7 commit 18ea313

5 files changed

Lines changed: 10 additions & 18 deletions

File tree

PKGBUILD/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ EOF
3131
#version type
3232
install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/stable"
3333

34-
rm -f "$pkgdir/usr/share/arch-store/script"
34+
install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/AUR"
3535

3636
}

PKGBUILD/PKGBUILD-dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ EOF
4242
#version type
4343
install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/beta"
4444

45-
rm -f "$pkgdir/usr/share/arch-store/script"
45+
install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/AUR"
4646

4747

4848
}

PKGBUILD/PKGBUILD-git

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Samuobe samuobe@ik.me
22

33
pkgname=arch-store-git
4-
pkgver=2.0.1
4+
pkgver=2.0.2.26.g224ca52
55
pkgrel=1
66
pkgdesc="A graphical app for managing your programs with pacman, AUR, flatpak, and appimage"
77
arch=('any')
@@ -38,12 +38,7 @@ EOF
3838
# File .desktop
3939
install -Dm644 "$srcdir/Arch-Store/arch-store.desktop" "$pkgdir/usr/share/applications/arch-store.desktop"
4040

41-
42-
#version type
43-
install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/beta"
44-
45-
rm -f "$pkgdir/usr/share/arch-store/script"
46-
47-
41+
install -Dm644 /dev/null "$pkgdir/usr/share/arch-store/AUR"
4842
}
4943

44+

install.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,11 @@ if [[ "$action" == "1" ]]; then
3131
sudo pacman -Rns arch-store
3232
wget https://raw.githubusercontent.com/samuobe/Arch-Store/main/PKGBUILD/PKGBUILD-git
3333
mv PKGBUILD-git PKGBUILD
34-
makepkg -si
34+
makepkg -si
3535
rm PKGBUILD
3636
echo "FINISHED!"
3737
fi
38-
39-
sudo touch /usr/share/arch-store/script
40-
41-
sudo touch /usr/share/arch-store/script
38+
rm /usr/share/arch-store/AUR
4239

4340
cd ..
4441
rm -rf arch-store-install
@@ -63,14 +60,14 @@ elif [[ "$action" == "5" ]]; then
6360
mv PKGBUILD-dev PKGBUILD
6461
makepkg -si
6562
rm PKGBUILD
66-
sudo touch /usr/share/arch-store/script
63+
rm /usr/share/arch-store/AUR
6764
echo "FINISHED!"
6865

69-
7066
cd ..
7167
rm -rf arch-store-install
7268
fi
7369

7470

71+
7572
rm -- "$0"
7673

settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def open_setting(language, working_dir, avaible_languages, version):
4040
global pacman_status, aur_status, flatpak_status, aur_method, new_language, app_image_dir
4141
load_config_data(working_dir, avaible_languages, language)
4242

43-
if os.path.isfile("/usr/share/arch-store/script"):
43+
if not os.path.isfile("/usr/share/arch-store/AUR"):
4444
script_installation_status = True
4545
else:
4646
script_installation_status = False

0 commit comments

Comments
 (0)