installdirs 549 Bytes
Newer Older
1 2
#!/bin/bash

3
installdirs_create ()
4 5
{

Christopher Roy Bratusek's avatar
Christopher Roy Bratusek committed
6
	echo -e "\t${WHITE}+ ${WHITE} directories"
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
	mkdir -p $DESTDIR/$DATADIR
	for directory in ${DATADIR_LIST[@]}; do
		mkdir -p $DESTDIR/$DATADIR/$directory
	done

	mkdir -p $DESTDIR/$LOCALEDIR
	for directory in ${LOCALEDIR_LIST[@]}; do
		mkdir -p $DESTDIR/$LOCALEDIR/$directory/
	done

	mkdir -p $DESTDIR/$DOCDIR
	for directory in ${DOCDIR_LIST[@]}; do
		mkdir -p $DESTDIR/$DOCDIR/$directory
	done

	mkdir -p $DESTDIR/$BINDIR
	mkdir -p $DESTDIR/$PROFILEDIR
	mkdir -p $DESTDIR/$ICONDIR
25
	mkdir -p $DESTDIR/$PCDIR
26 27

}