Skip to content

Commit

Permalink
Merge pull request #66 from vcatafesta/main
Browse files Browse the repository at this point in the history
dom 27 ago 2023 23:46:23 -04 Vilmar Catafesta ([email protected])
  • Loading branch information
bigbruno authored Aug 28, 2023
2 parents e4d24d6 + 65d8caf commit e83aba5
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@
declare -g Programas_Flatpak=$"Programas Flatpak"
declare -g Button_Fechar=$"Fechar"
declare -g Button_Cancelar=$"Cancelar"
export REPOSITORY="$(echo "$pkg_id" | cut -f1 -d"/")"
export PACKAGE_ID="$(echo "$pkg_id" | cut -f2-90 -d"/")"
# export REPOSITORY="$(echo "$pkg_id" | cut -f1 -d"/")"
# export PACKAGE_ID="$(echo "$pkg_id" | cut -f2-90 -d"/")"
export REPOSITORY="$(echo "${PKG_FLATPAK[PKG_ID]}" | cut -f1 -d"/")"
export PACKAGE_ID="$(echo "${PKG_FLATPAK[PKG_ID]}" | cut -f2-90 -d"/")"
}

function sh_view_flatpak_sh_htm {
Expand Down Expand Up @@ -98,12 +100,12 @@
</div></div></div>
EOF

python view_flatpak_pamac.py "$pkg_name" > "$TMP_FOLDER/flatpak_pamac_temp.txt"
./view_flatpak_pamac.py "$pkg_name" > "$TMP_FOLDER/flatpak_pamac_temp.txt"

if [[ -e "$HOME/.bigstore/flatpak-verification-fault" ]]; then
cat "$TMP_FOLDER/flatpak_pamac_temp.txt"
if [[ -e "$HOME_FOLDER/flatpak-verification-fault" ]]; then
grep -ve "^bef flathub" -ve "^aft flathub" "$TMP_FOLDER/flatpak_pamac_temp.txt"
else
source view_flatpak.sh "$pkg_name"
./view_flatpak.sh "$pkg_name"
fi

cat <<-EOF
Expand Down

0 comments on commit e83aba5

Please sign in to comment.