• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂9cfbc5c87995b7216de3ff5f91a93a2dab5b8e9a (tree)
時間2012-02-25 23:15:06
作者matsuand <matsuand@user...>
Commitermatsuand

Log Message

Modified a little.

Change Summary

差異

--- a/BLFS/_blfsset.sh
+++ b/BLFS/_blfsset.sh
@@ -3,7 +3,7 @@
33 LFS=/mnt/lfs
44 SRC=$LFS/sources/BLFS
55 DLD=$LFS/download/BLFS
6-WRK=$LFS/work/BLFS
6+WRK=$LFS/work/LFScripts/BLFS
77 LOG=$WRK/log
88
99 BOOTSCRIPTDATE=20120217
--- a/BLFS/bash-completion.sh
+++ b/BLFS/bash-completion.sh
@@ -29,28 +29,28 @@ fi
2929
3030 cd $TARGETDIR
3131
32-paco -p $TARGET "\
32+sudo paco -p $TARGET "\
3333 install -m644 bash_completion.sh /etc/profile.d/70-bash_completion.sh"
3434
35-paco -p+ $TARGET "\
35+sudo paco -p+ $TARGET "\
3636 cp -v bash_completion /etc"
3737
38-paco -p+ $TARGET "\
38+sudo paco -p+ $TARGET "\
3939 install -d /etc/bash_completion.d"
4040
41-paco -p+ $TARGET "\
41+sudo paco -p+ $TARGET "\
4242 install -d /usr/share/bash-completion"
4343
44-paco -p+ $TARGET "\
44+sudo paco -p+ $TARGET "\
4545 cp -v contrib/* /usr/share/bash-completion"
4646
47-paco -p+ $TARGET "\
47+sudo paco -p+ $TARGET "\
4848 install -d /usr/share/doc/bash-completion"
4949
50-paco -p+ $TARGET "\
50+sudo paco -p+ $TARGET "\
5151 cp -v README /usr/share/doc/bash-completion"
5252
53-cat >> /etc/bashrc << "EOF"
53+sudo cat >> /etc/bashrc << "EOF"
5454 # Enable bash completion
5555 if [ -f /etc/bash_completion ]; then
5656 source /etc/bash_completion
--- a/BLFS/bash_shell_startup_files.sh
+++ b/BLFS/bash_shell_startup_files.sh
@@ -1,6 +1,6 @@
11 #!/bin/sh
22
3-cat > /etc/profile << "EOF"
3+sudo cat > /etc/profile << "EOF"
44 # Begin /etc/profile
55 # Written for Beyond Linux From Scratch
66 # by James Robertson <jameswrobertson@earthlink.net>
@@ -75,9 +75,9 @@ unset pathremove pathprepend pathappend
7575 # End /etc/profile
7676 EOF
7777
78-install --directory --mode=0755 --owner=root --group=root /etc/profile.d
78+sudo install --directory --mode=0755 --owner=root --group=root /etc/profile.d
7979
80-cat > /etc/profile.d/dircolors.sh << "EOF"
80+sudo cat > /etc/profile.d/dircolors.sh << "EOF"
8181 # Setup for /bin/ls to support color, the alias is in /etc/bashrc.
8282 if [ -f "/etc/dircolors" ] ; then
8383 eval $(dircolors -b /etc/dircolors)
@@ -89,7 +89,7 @@ fi
8989 alias ls='ls --color=auto'
9090 EOF
9191
92-cat > /etc/profile.d/extrapaths.sh << "EOF"
92+sudo cat > /etc/profile.d/extrapaths.sh << "EOF"
9393 if [ -d /usr/local/lib/pkgconfig ] ; then
9494 pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH
9595 fi
@@ -108,7 +108,7 @@ fi
108108 #fi
109109 EOF
110110
111-cat > /etc/profile.d/readline.sh << "EOF"
111+sudo cat > /etc/profile.d/readline.sh << "EOF"
112112 # Setup the INPUTRC environment variable.
113113 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then
114114 INPUTRC=/etc/inputrc
@@ -116,7 +116,7 @@ fi
116116 export INPUTRC
117117 EOF
118118
119-cat > /etc/profile.d/umask.sh << "EOF"
119+sudo cat > /etc/profile.d/umask.sh << "EOF"
120120 # By default we want the umask to get set.
121121 if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
122122 umask 002
@@ -125,7 +125,7 @@ else
125125 fi
126126 EOF
127127
128-cat > /etc/profile.d/X.sh << "EOF"
128+sudo cat > /etc/profile.d/X.sh << "EOF"
129129 if [ -x /usr/X11/bin/X ]; then
130130 pathappend /usr/X11/bin
131131 fi
@@ -134,12 +134,12 @@ if [ -d /usr/X11/lib/pkgconfig ] ; then
134134 fi
135135 EOF
136136
137-cat > /etc/profile.d/i18n.sh << "EOF"
137+sudo cat > /etc/profile.d/i18n.sh << "EOF"
138138 # Set up i18n variables
139139 export LANG=ja_JP.UTF-8
140140 EOF
141141
142-cat > /etc/bashrc << "EOF"
142+sudo cat > /etc/bashrc << "EOF"
143143 # Begin /etc/bashrc
144144 # Written for Beyond Linux From Scratch
145145 # by James Robertson <jameswrobertson@earthlink.net>
@@ -176,7 +176,7 @@ fi
176176 export LFS=/mnt/lfs
177177 EOF
178178
179-cat > ~/.bash_profile << "EOF"
179+sudo cat > /root/.bash_profile << "EOF"
180180 # Begin ~/.bash_profile
181181 # Written for Beyond Linux From Scratch
182182 # by James Robertson <jameswrobertson@earthlink.net>
@@ -215,7 +215,7 @@ unset append
215215 # End ~/.bash_profile
216216 EOF
217217
218-cat > ~/.bashrc << "EOF"
218+sudo cat > /root/.bashrc << "EOF"
219219 # Begin ~/.bashrc
220220 # Written for Beyond Linux From Scratch
221221 # by James Robertson <jameswrobertson@earthlink.net>
@@ -243,7 +243,7 @@ export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
243243 export PKG_CONFIG_PATH=$XORG_PREFIX/lib/pkgconfig
244244 EOF
245245
246-cat > ~/.bash_logout << "EOF"
246+sudo cat > /root/.bash_logout << "EOF"
247247 # Begin ~/.bash_logout
248248 # Written for Beyond Linux From Scratch
249249 # by James Robertson <jameswrobertson@earthlink.net>
@@ -253,11 +253,11 @@ cat > ~/.bash_logout << "EOF"
253253 # End ~/.bash_logout
254254 EOF
255255
256-dircolors -p > /etc/dircolors
256+sudo dircolors -p > /etc/dircolors
257257
258-mkdir -pv /etc/skel
259-cp /root/.bashrc /etc/skel
260-cp /root/.bash_profile /etc/skel
261-cp /root/.bash_logout /etc/skel
262-cp /root/.viminfo /etc/skel
258+sudo mkdir -pv /etc/skel
259+sudo cp /root/.bashrc /etc/skel
260+sudo cp /root/.bash_profile /etc/skel
261+sudo cp /root/.bash_logout /etc/skel
262+sudo cp /root/.viminfo /etc/skel
263263