diff options
l--------- | data/profile.d/_metadata/bash.dep | 1 | ||||
-rw-r--r-- | data/profile.d/_metadata/description | 1 | ||||
l--------- | data/profile.d/_metadata/license | 1 | ||||
l--------- | data/profile.d/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/profile.d/_metadata/name | 1 | ||||
-rw-r--r-- | data/profile.d/_metadata/priority | 1 | ||||
-rw-r--r-- | data/profile.d/_metadata/role | 1 | ||||
-rw-r--r-- | data/profile.d/_metadata/section | 1 | ||||
-rw-r--r-- | data/profile.d/_metadata/tags | 1 | ||||
-rw-r--r-- | data/profile.d/_metadata/version | 1 | ||||
-rw-r--r-- | data/profile.d/make.sh | 3 | ||||
-rw-r--r-- | data/profile.d/profile | 9 | ||||
-rw-r--r-- | data/profile.d/terminal.sh | 3 |
13 files changed, 25 insertions, 0 deletions
diff --git a/data/profile.d/_metadata/bash.dep b/data/profile.d/_metadata/bash.dep new file mode 120000 index 000000000..d0c818fb6 --- /dev/null +++ b/data/profile.d/_metadata/bash.dep @@ -0,0 +1 @@ +../../bash
\ No newline at end of file diff --git a/data/profile.d/_metadata/description b/data/profile.d/_metadata/description new file mode 100644 index 000000000..fa0b343aa --- /dev/null +++ b/data/profile.d/_metadata/description @@ -0,0 +1 @@ +makes packaging for /etc/profile reasonable diff --git a/data/profile.d/_metadata/license b/data/profile.d/_metadata/license new file mode 120000 index 000000000..b9c4e3684 --- /dev/null +++ b/data/profile.d/_metadata/license @@ -0,0 +1 @@ +../../../licenses/menes
\ No newline at end of file diff --git a/data/profile.d/_metadata/maintainer b/data/profile.d/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/profile.d/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/profile.d/_metadata/name b/data/profile.d/_metadata/name new file mode 100644 index 000000000..ddce954d8 --- /dev/null +++ b/data/profile.d/_metadata/name @@ -0,0 +1 @@ +Profile Directory diff --git a/data/profile.d/_metadata/priority b/data/profile.d/_metadata/priority new file mode 100644 index 000000000..a6a7b9cd7 --- /dev/null +++ b/data/profile.d/_metadata/priority @@ -0,0 +1 @@ +standard diff --git a/data/profile.d/_metadata/role b/data/profile.d/_metadata/role new file mode 100644 index 000000000..52b4d7301 --- /dev/null +++ b/data/profile.d/_metadata/role @@ -0,0 +1 @@ +hacker diff --git a/data/profile.d/_metadata/section b/data/profile.d/_metadata/section new file mode 100644 index 000000000..eb7a34ddd --- /dev/null +++ b/data/profile.d/_metadata/section @@ -0,0 +1 @@ +Administration diff --git a/data/profile.d/_metadata/tags b/data/profile.d/_metadata/tags new file mode 100644 index 000000000..ad5d50831 --- /dev/null +++ b/data/profile.d/_metadata/tags @@ -0,0 +1 @@ +purpose::console diff --git a/data/profile.d/_metadata/version b/data/profile.d/_metadata/version new file mode 100644 index 000000000..573541ac9 --- /dev/null +++ b/data/profile.d/_metadata/version @@ -0,0 +1 @@ +0 diff --git a/data/profile.d/make.sh b/data/profile.d/make.sh new file mode 100644 index 000000000..552e98820 --- /dev/null +++ b/data/profile.d/make.sh @@ -0,0 +1,3 @@ +pkg: mkdir -p /etc/profile.d +pkg: cp -a %/terminal.sh /etc/profile.d +pkg: cp -a %/profile /etc diff --git a/data/profile.d/profile b/data/profile.d/profile new file mode 100644 index 000000000..af1a3d2ac --- /dev/null +++ b/data/profile.d/profile @@ -0,0 +1,9 @@ +export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games' +export PS1='\h:\w \u\$ ' +umask 022 + +for i in /etc/profile.d/*.sh ; do + if [ -r "$i" ]; then + . $i + fi +done diff --git a/data/profile.d/terminal.sh b/data/profile.d/terminal.sh new file mode 100644 index 000000000..df0ca9546 --- /dev/null +++ b/data/profile.d/terminal.sh @@ -0,0 +1,3 @@ +if [[ $TERM = network || -z $TERM ]]; then + export TERM=linux +fi |