blob: aa927b04ee6f304e0f174bca9a41113fc9ced088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
local eula=/usr/share/licenses/CEWE/EULA.txt
if [ -n "$DISPLAY" ]
then
setsid xterm -title "$eula" -sb -rightbar -u8 -geometry 120x80 -e "cat $eula ; sleep 32000000" &> /dev/null \
&& return
fi
echo -e "${eula//?/=}\n$eula\n${eula//?/=}"
head -n 8 $eula
read -p "Show rest of $eula (y/N)"
[ "${REPLY#y}" != "$REPLY" ] && less -e $eula
}
|