Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Jan 7, 2022
1 parent 00d06a7 commit c213c58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ case "$1" in
'-i'|'install')
while [ -n "$1" ]
do sudo echo "";
if test -f /opt/$2/remove; then
case $2 in
am) echo 'OPERATION DENIED, EXITING!'; exit;;
*) if test -f /opt/$2/remove; then
echo '"AM" HAS ALREADY INSTALLED "'$2'" PREVIOUSLY, THE DIRECTORY "/opt/'$2'" HAS ALREADY BEEN CREATED IN A PREVIOUS INSTALLATION! IF YOU HAVE ISSUES IN RUNNING THE PROGRAM, TRY TO REINSTALL IT USING THE FOLLOWING COMMAND:' &&
echo "" && echo ' sudo am -r '$2' && sudo am -i '$2'' && echo "" &&
echo 'OR REPORT THE BUG AT https://github.com/IVAN-HC/AM-APPLICATION-MANAGER/issues' && echo ""; exit;
Expand All @@ -169,6 +171,7 @@ case "$1" in
exit;
fi
fi
esac
done
shift;;
'-l'|'list') echo ""; echo " LIST OF APPLICATIONS AVAILABLE IN THE 'AM' REPOSITORY:"; echo "";
Expand Down

0 comments on commit c213c58

Please sign in to comment.