[jetrix-cvs] SF.net SVN: jetrix:[766] jetrix/trunk/src/etc/control
Brought to you by:
smanux
From: <sm...@us...> - 2008-09-02 18:17:49
|
Revision: 766 http://jetrix.svn.sourceforge.net/jetrix/?rev=766&view=rev Author: smanux Date: 2008-09-02 18:17:42 +0000 (Tue, 02 Sep 2008) Log Message: ----------- Moved the configuration to /etc/jetrix and the logs to /var/log/jetrix on Linux Modified Paths: -------------- jetrix/trunk/src/etc/control/postinst jetrix/trunk/src/etc/control/postrm Added Paths: ----------- jetrix/trunk/src/etc/control/conffiles Added: jetrix/trunk/src/etc/control/conffiles =================================================================== --- jetrix/trunk/src/etc/control/conffiles (rev 0) +++ jetrix/trunk/src/etc/control/conffiles 2008-09-02 18:17:42 UTC (rev 766) @@ -0,0 +1,2 @@ +/etc/jetrix/server.xml +/etc/jetrix/channels.xml Property changes on: jetrix/trunk/src/etc/control/conffiles ___________________________________________________________________ Added: svn:eol-style + LF Modified: jetrix/trunk/src/etc/control/postinst =================================================================== --- jetrix/trunk/src/etc/control/postinst 2008-09-02 18:06:09 UTC (rev 765) +++ jetrix/trunk/src/etc/control/postinst 2008-09-02 18:17:42 UTC (rev 766) @@ -1,5 +1,13 @@ #!/bin/sh -ln -s /usr/share/jetrix/jetrix /usr/bin/jetrix +JETRIX_HOME="/usr/share/jetrix"; -# TODO Move the log directory and create a symlink +ln -s $JETRIX_HOME/jetrix /usr/games/jetrix + +# move the conf directory to /etc/jetrix and create a symbolic link +mv $JETRIX_HOME/conf /etc/jetrix +ln -s /etc/jetrix $JETRIX_HOME/conf + +# move the log directory to /var/log/jetrix and create a symbolic link +mv $JETRIX_HOME/log /var/log/jetrix +ln -s /var/log/jetrix $JETRIX_HOME/log Modified: jetrix/trunk/src/etc/control/postrm =================================================================== --- jetrix/trunk/src/etc/control/postrm 2008-09-02 18:06:09 UTC (rev 765) +++ jetrix/trunk/src/etc/control/postrm 2008-09-02 18:17:42 UTC (rev 766) @@ -1,3 +1,3 @@ #!/bin/sh -rm -f /usr/bin/jetrix +rm -f /usr/games/jetrix This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |