Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mkinst_wrap() {
- bigprint "Installing $1""..."
- if [ ! -f "../../""$1"".installed" ];then
- if [ "$2" = "1" ];then
- ignoreerr=1
- elif [ "$3" = "1" ];then
- ignoreerr=1
- else
- ignoreerr=0
- fi
- if [ "$ignoreerr" = "1" ];then
- echo "mkinst_wrap: Warning: Installing with -i."
- fi
- if [ "$2" = "" ];then
- makeinstall $2 $ignoreerr ; checkcode $? "Installing $1"
- else
- makeinstall "" $ignoreerr; checkcode $? "Installing $1"
- fi
- touch "../../""$1"".installed"
- else
- echo "Not installing again, since it's already installed."
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment