aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-04-25 10:03:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-04-25 10:03:53 -0300
commit81ad608e8ad6a62b7015284cf22c049fb70a8d6d (patch)
treea77bd20a4dc70af411ed02bf90f6678a186d7599 /share/hoarder
parentb5d9e97f2500562dd0ec7d062fe3c10adb46f6ed (diff)
downloadtrashman-81ad608e8ad6a62b7015284cf22c049fb70a8d6d.tar.gz
trashman-81ad608e8ad6a62b7015284cf22c049fb70a8d6d.tar.bz2
Feat: new functions trashman_installed_at and trashman_run_with
Diffstat (limited to 'share/hoarder')
-rwxr-xr-xshare/hoarder/firefox-dev/unix/linux/install3
-rwxr-xr-xshare/hoarder/irpf/unix/linux/install4
2 files changed, 6 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"