File: pk-spawn-test.sh

package info (click to toggle)
packagekit 1.2.6-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,224 kB
  • sloc: ansic: 52,083; cpp: 10,938; xml: 4,828; python: 3,791; sh: 269; perl: 60; makefile: 53
file content (38 lines) | stat: -rwxr-xr-x 1,143 bytes parent folder | download | duplicates (5)
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
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
# Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
# Licensed under the GNU General Public License Version 2
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

time=0.5

echo -e "percentage\t0"
echo -e "percentage\t10"
sleep ${time}
echo -e "percentage\t20"
sleep ${time}
echo -e "percentage\t30"
sleep ${time}
echo -e "percentage\t40"
sleep ${time}
echo -e "package\tavailable\tpolkit;0.0.1;i386;data\tPolicyKit daemon"
echo -e "package\tinstalled\tpolkit-gnome;0.0.1;i386;data\tPolicyKit helper (•) for GNOME"
sleep ${time}
printf "package\tavailable\tConsoleKit"
sleep ${time}
echo -e "\tSystem console checker"
echo -e "percentage\t50"
sleep ${time}
echo -e "percentage\t60"
sleep ${time}
echo -e "percentage\t70"
sleep ${time}
echo -e "percentage\t80"
sleep ${time}
echo -e "percentage\t90"
echo -e "package\tinstalled\tgnome-power-manager;0.0.1;i386;data\tMore useless software"
sleep ${time}
echo -e "percentage\t100"