blob: 36908b7bb2d1d0c13886732eaf571e03f00c69d7 (
plain)
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
27
28
|
#!/bin/sh
echo "#################### common-wayland.post ##################"
# add users to display group
for user in alice bob carol guest developer; do
if generic_base_user_exists $user; then
/usr/sbin/groupmod -A $user display
fi
done
#{ Add installed apps for tizen to launcher if not present
dst="/usr/share/applications/tizen/launcher.conf"
if [ -w "$dst" ] ; then
ls /usr/share/applications/tizen/*.desktop \
| while read src; do
grep "$src" "$dst" \
|| { [ ! -r "$src" ] || echo "$src" >> "$dst" ; }
done
fi
#}
# tag the background image with the current snapshot id
arch=$(rpm -qa | grep kernel-common | awk -F- '{printf("%s %s",$3,$4);}')
/usr/bin/mark_image.py /usr/share/backgrounds/tizen/current "Tizen Common: @BUILD_ID@ $arch" ffffff 50 90 95 95
|