Permalink
Find file
9139751 Jan 5, 2012
@samtygier @perberos
executable file 47 lines (42 sloc) 1.45 KB
#!/bin/bash
# Copyright © 2011 Perberos
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation; either version 2.1 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
listofpackages=(
mate-desktop/mate-applets
mate-desktop/mate-bluetooth
mate-desktop/mate-calc
mate-desktop/mate-display-manager
mate-desktop/mate-document-viewer
mate-desktop/mate-file-archiver
mate-desktop/mate-file-manager-sendto
mate-desktop/mate-image-viewer
mate-desktop/mate-power-manager
mate-desktop/mate-screensaver
mate-desktop/mate-system-monitor
mate-desktop/mate-system-tools
mate-desktop/mate-terminal
mate-desktop/mate-text-editor
mate-desktop/mate-themes
)
for i in $(seq 0 $((${#listofpackages[@]} - 1))); do
repo=${listofpackages[$i]}
package=${name:`expr index "$repo" /`}
if [ -d $folder ]; then
git clone https://github.com/$repo.git
else
echo Skip $folder.
fi
done