/usr/bin/ubuntu-kylin-software-center is in ubuntu-kylin-software-center 0.2.9.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
if [ $# = 0 ]; then
echo "normal start"
cd /usr/share/ubuntu-kylin-software-center
python ubuntu-kylin-software-center.py
else
if [ $1 = "restart" ]; then
echo "restart"
ps -ef|grep ubuntu-kylin-software-center.py|grep -v grep|cut -c 9-15|xargs kill -9
sleep 1
cd /usr/share/ubuntu-kylin-software-center
python ubuntu-kylin-software-center.py
else
echo "parm error"
fi
fi
|