فهرست منبع

#IQRV #comment 打印安装卸载时传入的参数

gifur 2 سال پیش
والد
کامیت
c784866fd9
4فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      addin/packaging/DEBIAN/postinst
  2. 1 1
      addin/packaging/DEBIAN/postrm
  3. 1 1
      addin/packaging/DEBIAN/preinst
  4. 1 1
      addin/packaging/DEBIAN/prerm

+ 1 - 1
addin/packaging/DEBIAN/postinst

@@ -1,5 +1,5 @@
 #!/bin/sh
-echo "============== post installation custom scripts start =============="
+echo "============== post installation custom scripts start: $*=============="
 curr_timestamp=`date "+%Y%m%d-%H%M%S.%3N"`
 lightdm_file=/etc/lightdm/lightdm.conf
 rvc_install_path_root="/opt"

+ 1 - 1
addin/packaging/DEBIAN/postrm

@@ -1,5 +1,5 @@
 #!/bin/sh
-echo "================= post remove custom scripts start ================="
+echo "================= post remove custom scripts start: $*================="
 rm /etc/xdg/autostart/spexplorerauto.desktop > /dev/null 2>&1
 rm /usr/share/applications/spexplorerauto.desktop > /dev/null 2>&1
 rm -rf /opt/rvc > /dev/null 2>&1

+ 1 - 1
addin/packaging/DEBIAN/preinst

@@ -1,5 +1,5 @@
 #!/bin/sh
-echo "============== previous installation custom scripts start =============="
+echo "============== previous installation custom scripts start: $* =============="
 user1=$(ps -o user= -p $$ | awk '{print $1}')
 echo "user1: $user1"
 user2=$(whoami)

+ 1 - 1
addin/packaging/DEBIAN/prerm

@@ -1,5 +1,5 @@
 #!/bin/sh
-echo "================= pre remove custom scripts start =================="
+echo "================= pre remove custom scripts start: $* =================="
 
 if [ "$1" = "remove" ]; then
     killall -9 spshell > /dev/null 2>&1