Skip to content
Closed
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
7 changes: 4 additions & 3 deletions deb-get
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function get_github_releases() {
# curl -I https://api.github.com/users/flexiondotorg

# Do not process github releases while generating a pretty list or upgrading
if [[ ' install fix-installed ' =~ " ${ACTION} " ]] || { [[ ' update ' =~ " ${ACTION} " ]] && package_is_installed "${APP}"; }; then
if [[ ' install fix-installed show reinstall ' =~ " ${ACTION} " ]] || { [[ ' update ' =~ " ${ACTION} " ]] && package_is_installed "${APP}"; }; then
if [ ! -e "${CACHE_FILE}" ] || [ -n "$(find "${CACHE_FILE}" -mmin +"${DEBGET_CACHE_RTN:-60}")" ]; then
if [ -z ${QUIET} ]; then
fancy_message info "Updating ${CACHE_FILE}"
Expand Down Expand Up @@ -210,7 +210,7 @@ function get_gitlab_releases() {
# So for gitlab sourced apps that use this release model users can use 99-local to pin a version
#

if [[ ' install fix-installed ' =~ " ${ACTION} " ]] || { [[ ' update ' =~ " ${ACTION} " ]] && package_is_installed "${APP}"; }; then
if [[ ' install fix-installed show reinstall ' =~ " ${ACTION} " ]] || { [[ ' update ' =~ " ${ACTION} " ]] && package_is_installed "${APP}"; }; then
if [ ! -e "${CACHE_FILE}" ] || [ -n "$(find "${CACHE_FILE}" -mmin +"${DEBGET_CACHE_RTN:-60}")" ]; then
if [ -z ${QUIET} ]; then
fancy_message info "Updating ${CACHE_FILE}"
Expand Down Expand Up @@ -239,7 +239,7 @@ function get_gitlab_releases() {
function get_website() {
METHOD="website"
CACHE_FILE="${CACHE_DIR}/${APP}.html"
if [[ ' install fix-installed ' =~ " ${ACTION} " ]] || { [[ ' update ' =~ " ${ACTION} " ]] && package_is_installed "${APP}"; }; then
if [[ ' install fix-installed show reinstall ' =~ " ${ACTION} " ]] || { [[ ' update ' =~ " ${ACTION} " ]] && package_is_installed "${APP}"; }; then
if [ ! -e "${CACHE_FILE}" ] || [ -n "$(find "${CACHE_FILE}" -mmin +"${DEBGET_CACHE_RTN:-60}")" ]; then
if [ -z ${QUIET} ]; then
fancy_message info "Updating ${CACHE_FILE}"
Expand Down Expand Up @@ -1470,6 +1470,7 @@ function dg_action_clean() {

}
function dg_action_show() {
elevate_privs
for APP in "${@,,}"; do
FULL_APP=${APPNAME2FULL[$APP]}
if [ -z "${FULL_APP}" ]; then
Expand Down