source: salt-server/trunk/fuentes/install_server @ 473

Last change on this file since 473 was 473, checked in by daduve, 3 years ago

Adding files

  • Property svn:executable set to *
File size: 635 bytes
Line 
1#!/bin/sh
2echo DESTDIR=$DESTDIR
3mkdir -p $DESTDIR
4LIBSPATH="usr/lib"
5BINPATH="usr/bin"
6PYCPATH="usr/share/salt-server"
7OLDFILESPATH="usr/share/salt-old-files/"
8mkdir -p $DESTDIR/$LIBSPATH $DESTDIR/$BINPATH $DESTDIR/$PYCPATH
9ls  $DESTDIR/$LIBSPATH
10cp so/*.so $DESTDIR/$LIBSPATH
11cp sltsrv.py $DESTDIR/$BINPATH/sltsrv
12cp sltsrw.py $DESTDIR/$BINPATH/sltsrw
13cp sltgl.py  sltsalt.py  sltslt.py  $DESTDIR/$PYCPATH
14chmod -x $DESTDIR/$PYCPATH/*.py
15mkdir -p $DESTDIR/$PYCPATH/py/
16cp py/*.py $DESTDIR/$PYCPATH/py/
17chmod -x $DESTDIR/$PYCPATH/py/*.py
18# Sovietic soltion
19mkdir -p $DESTDIR/$OLDFILESPATH
20cp salt-old-files/* "$DESTDIR/$OLDFILESPATH"
21
Note: See TracBrowser for help on using the repository browser.