#!/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 # clean weston target inside user session (installed by weston) rm -f /usr/lib/systemd/user/weston.target #{ 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