summaryrefslogtreecommitdiff
path: root/src/treepkg
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-31 18:52:49 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 19:53:19 -0600
commit1316ba7aa96c69ea541f1b7b3715aad5d1c8eb14 (patch)
treedf265c278a4bcb4823a725b9d78936d6f6fc67ef /src/treepkg
parent29230b22081f9982f02d1c2fa46834089422d098 (diff)
[all tools]: use conf.sh (and libremessages if necessary)
Diffstat (limited to 'src/treepkg')
-rwxr-xr-xsrc/treepkg9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/treepkg b/src/treepkg
index 519dee5..22485d2 100755
--- a/src/treepkg
+++ b/src/treepkg
@@ -15,14 +15,15 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-source /etc/libretools.conf
-source $XDG_CONFIG_HOME/libretools/libretools.conf >/dev/null 2>&1|| true
+source libremessages
+source $(librelib conf.sh)
+
+load_conf_libretools
term_title "$(basename $0)"
# Get system variables
-source /etc/makepkg.conf
-source $HOME/makepkg.conf >/dev/null 2>&1|| true
+load_files makepkg
# End inmediately but print an useful message
trap_exit() {