Skip to content

Commit

Permalink
test install
Browse files Browse the repository at this point in the history
  • Loading branch information
mchataigner committed Apr 6, 2012
1 parent 4176e26 commit fb3eb9a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ error=$?
if [ $error -eq 0 ];then
perl Makefile.PL
make
exit 0
else
echo missing packages: $errors
echo try: sudo apt-get install $errors
exit $error
fi
10 changes: 8 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#!/bin/bash

bash build.sh
bash install.sh
bash config.sh
if [ ! $? -eq 0 ];then
sudo apt-get install $(bash depends.sh)
fi
bash build.sh
if [ $? -eq 0 ];then
bash install.sh
bash config.sh
fi

#libextutils-makemaker-perl \
#libio-handle-perl \
Expand Down

0 comments on commit fb3eb9a

Please sign in to comment.