summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 16:03:02 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 16:03:02 -0500
commit04f0c6e4d8f280ea39d1a062d47214cca5359ff3 (patch)
tree865210eaa292ea75226cee5a5bca3fd9d30fe71e
parent9dafbc4b3e57876b64bd8f710ddd10dee8e1133b (diff)
Fixed thing for this to work
-rw-r--r--PKGBUILD2
-rwxr-xr-xlibrerelease2
2 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2cab819..0e589b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,6 +35,8 @@ package() {
install -d ${pkgdir}/etc
install -m644 ${_gitname}/libretools.conf ${pkgdir}/etc/
+ rm ${_gitname}/libretools.conf
+
install -m755 ${_gitname}/libre* ${pkgdir}/usr/bin/
install -m755 ${_gitname}/pkgbuild-check-nonfree ${pkgdir}/usr/bin/
}
diff --git a/librerelease b/librerelease
index f684e4d..b53b9d8 100755
--- a/librerelease
+++ b/librerelease
@@ -21,7 +21,7 @@
# You should have received a copy of the GNU General Public License
# along with Parabola. If not, see <http://www.gnu.org/licenses/>.
custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf
-if [-e $custom_config]; then
+if [ -e $custom_config ]; then
source $custom_config
else
source /etc/libretools.conf