aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hoarder/firefox-dev/unix/linux/install3
-rwxr-xr-xshare/hoarder/irpf/unix/linux/install4
-rw-r--r--share/trashman/trashman/functions10
3 files changed, 16 insertions, 1 deletions
diff --git a/share/hoarder/firefox-dev/unix/linux/install b/share/hoarder/firefox-dev/unix/linux/install
index c194acf..603ec10 100755
--- a/share/hoarder/firefox-dev/unix/linux/install
+++ b/share/hoarder/firefox-dev/unix/linux/install
@@ -34,3 +34,6 @@ rm -rf $WORK || exit 1
mkdir -p $HOME/.local/bin || exit 1
cd $HOME/.local/bin || exit 1
ln -sf $HOME/.local/share/firefox-dev/firefox firefox-dev || exit 1
+
+trashman_installed at $HOME/.local/share/firefox
+trashman_run_with $HOME/.local/bin/firefox
diff --git a/share/hoarder/irpf/unix/linux/install b/share/hoarder/irpf/unix/linux/install
index b755558..29d8e67 100755
--- a/share/hoarder/irpf/unix/linux/install
+++ b/share/hoarder/irpf/unix/linux/install
@@ -32,7 +32,9 @@ chmod +x ${FILE} || exit 1
cd $CWD
rm -rf $WORK || exit 1
+trashman_installed at $HOME/ProgramasRFB/IRPF${YEAR}
+
# Run
echo "Run IRPF ${YEAR} with the following command:"
echo ""
-echo "\t/usr/bin/java -Xms128M -Xmx512M -jar /home/user/ProgramasRFB/IRPF${YEAR}/irpf.jar"
+echo "\t/usr/bin/java -Xms128M -Xmx512M -jar ${HOME}/ProgramasRFB/IRPF${YEAR}/irpf.jar"
diff --git a/share/trashman/trashman/functions b/share/trashman/trashman/functions
index 4551bc8..abb2103 100644
--- a/share/trashman/trashman/functions
+++ b/share/trashman/trashman/functions
@@ -271,3 +271,13 @@ EOF
$DEPLOY_RSYNC "$RSYNC_PATH" $APP_BASE/ $SERVER:/usr/local/share/trashman/
$SSH $SERVER sudo /usr/local/share/trashman/trashman install trashman
}
+
+# Inform where a package was installed
+trashman_installed_at () {
+ echo "Package installed at $*"
+}
+
+# Inform how to run the package main command
+trashman_run_with () {
+ echo "Run with $*"
+}