Skip to content

Commit

Permalink
Update install.am
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Aug 25, 2024
1 parent 2d2edfc commit 671eb45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/install.am
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ _install_local_script() {
fi
}

# This is for scripts hosted on the official online database or a third-party one
# This is for scripts hosted on the official online database
_install_normally() {
mkdir -p "$AMCACHEDIR"/tmp && rm -f "$AMCACHEDIR"/tmp/* &&
wget -q "$APPSDB"/"$arg" -O "$AMCACHEDIR"/tmp/"$arg" &&
Expand Down Expand Up @@ -335,7 +335,7 @@ case "$1" in
if [ -d "$APPSPATH"/"$arg"/tmp ]; then
$SUDOCMD "$APPSPATH"/"$arg"/remove 2> /dev/null
fi
# Various cases that may occur during installation (for example if you use a third-party repository)
# Various cases that may occur during installation
if test -f "$APPSPATH"/"$arg"/remove; then
echo "\"$arg\" is already installed!" | tr '[:lower:]' '[:upper:]'
else
Expand Down

0 comments on commit 671eb45

Please sign in to comment.