File: blend-update-menus

package info (click to toggle)
blends 0.7.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 792 kB
  • sloc: xml: 5,097; python: 1,003; sh: 705; makefile: 272
file content (26 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id$

# check if I am a specific user
amI() {
	RET=0
	test `whoami` != "$1" && RET=1
	return ${RET}
}

# The following scripts have historical reasons and are currently not
# used any more. The complete text might be found in version 0.3 of
# the scripts.
# updates user's menu for user $1, indipendently from any Blend
updateUser() {
	RET=0
	SYSUSER=$1
	return ${RET}
}

# updates menu scripts for any user registered in Blend
updateBlend() {
	RET=0
	BLEND=$1
	
	return ${RET}
}