# HG changeset patch # User Christophe Lincoln # Date 1203951231 -3600 # Node ID f7cff624b2d249c8fb109ebbc4fd7e012bce07ba # Parent fb4b753f4f907540c5b84775f2b81ab2351f38ed Paving the road to put all hacker files in slitaz-hacker diff -r fb4b753f4f90 -r f7cff624b2d2 slitaz-hacker/receipt --- a/slitaz-hacker/receipt Mon Feb 25 15:33:46 2008 +0100 +++ b/slitaz-hacker/receipt Mon Feb 25 15:53:51 2008 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="slitaz-hacker" -VERSION="1.0" +VERSION="1.1" CATEGORY="base-system" SHORT_DESC="SliTaz user hacker." MAINTAINER="pankso@slitaz.org" @@ -17,8 +17,7 @@ $fs/home/hacker/Templates \ $fs/home/hacker/.local/bin \ $fs/home/hacker/.local/share - cp -a stuff/ash_history $fs/home/hacker/.ash_history - cp -a stuff/profile $fs/home/hacker/.profile + cp -a stuff/hacker $fs/home/hacker # Change permissions. # echo -n "Chmodig all files in $fs/home/hacker..." diff -r fb4b753f4f90 -r f7cff624b2d2 slitaz-hacker/stuff/README --- a/slitaz-hacker/stuff/README Mon Feb 25 15:33:46 2008 +0100 +++ b/slitaz-hacker/stuff/README Mon Feb 25 15:53:51 2008 +0100 @@ -3,6 +3,6 @@ slitaz-hacker package provide SHell profile and Ash history, creat a few directories (done by the receipt) and configure system wide file such as -/etc/passwd or /etc/group. Note that some addfiles are installed for hacker +/etc/passwd or /etc/group. Note that some addfiles can be installed for hacker when the LiveCD flavor is generated, depending on the flavor packages list. diff -r fb4b753f4f90 -r f7cff624b2d2 slitaz-hacker/stuff/ash_history --- a/slitaz-hacker/stuff/ash_history Mon Feb 25 15:33:46 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -ls -al -cat /proc/cpuinfo -cat /proc/partitions -free -ifconfig -a -exit -tazpkg list -cat Images/ASCII/tux.txt -less -EM /usr/share/doc/tazpkg/tazpkg.txt -less -EM /usr/share/doc/slitaz/apropos.txt -nInvaders -htop -rhapsody -nano -retawq -retawq http://localhost/server-status -retawq http://localhost/ -clex diff -r fb4b753f4f90 -r f7cff624b2d2 slitaz-hacker/stuff/hacker/.ash_history --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-hacker/stuff/hacker/.ash_history Mon Feb 25 15:53:51 2008 +0100 @@ -0,0 +1,18 @@ +ls -al +cat /proc/cpuinfo +cat /proc/partitions +free +ifconfig -a +exit +tazpkg list +cat Images/ASCII/tux.txt +less -EM /usr/share/doc/tazpkg/tazpkg.txt +less -EM /usr/share/doc/slitaz/apropos.txt +nInvaders +htop +rhapsody +nano +retawq +retawq http://localhost/server-status +retawq http://localhost/ +clex diff -r fb4b753f4f90 -r f7cff624b2d2 slitaz-hacker/stuff/hacker/.profile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-hacker/stuff/hacker/.profile Mon Feb 25 15:53:51 2008 +0100 @@ -0,0 +1,42 @@ +# ~/.profile: Executed by Bourne-compatible login SHells. +# + +# Path to personal scripts and executables (~/.local/bin). +# +if [ -d "$HOME/.local/bin" ] ; then + PATH=$HOME/.local/bin:$PATH + export PATH +fi + +# Java JRE (paths). +# +#JAVA_HOME=$HOME/.local/lib/jre1.6.0_03 +#JAVA_BINDIR=$JAVA_HOME/bin +#if [ -d "$JAVA_BINDIR" ] ; then +# export PATH=$JAVA_BINDIR:$PATH +#fi + +# Environnement variables and prompt for Ash SHell +# or Bash. Default is a classic prompt. +# +PS1='\u@\h:\w\$ ' + +EDITOR='nano' +PAGER='less -EM' + +export PS1 EDITOR PAGER + +# Alias definitions. +# +alias df='df -h' +alias du='du -h' + +alias ls='ls -p' +alias ll='ls -l' +alias la='ls -la' + +# Avoid errors... use -f to skip confirmation. +alias rm='rm -i' +alias mv='mv -i' + +umask 022 diff -r fb4b753f4f90 -r f7cff624b2d2 slitaz-hacker/stuff/profile --- a/slitaz-hacker/stuff/profile Mon Feb 25 15:33:46 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -# ~/.profile: Executed by Bourne-compatible login SHells. -# - -# Path to personal scripts and executables (~/.local/bin). -# -if [ -d "$HOME/.local/bin" ] ; then - PATH=$HOME/.local/bin:$PATH - export PATH -fi - -# Java JRE (paths). -# -#JAVA_HOME=$HOME/.local/lib/jre1.6.0_03 -#JAVA_BINDIR=$JAVA_HOME/bin -#if [ -d "$JAVA_BINDIR" ] ; then -# export PATH=$JAVA_BINDIR:$PATH -#fi - -# Environnement variables and prompt for Ash SHell -# or Bash. Default is a classic prompt. -# -PS1='\u@\h:\w\$ ' - -EDITOR='nano' -PAGER='less -EM' - -export PS1 EDITOR PAGER - -# Alias definitions. -# -alias df='df -h' -alias du='du -h' - -alias ls='ls -p' -alias ll='ls -l' -alias la='ls -la' - -# Avoid errors... use -f to skip confirmation. -alias rm='rm -i' -alias mv='mv -i' - -umask 022