feat: 去除以前国测时添加的配合锁定物理内存的安装脚本

目前已经不需要这个脚本了,直接删除

Log: 删除不需要的安装脚本文件
Change-Id: If20544ecedbf9160ae77f155f6f1927cd61623f4
Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/1380
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: niecheng <niecheng@uniontech.com>
Reviewed-by: fanpengcheng <fanpengcheng@uniontech.com>
Tested-by: <mailman@uniontech.com>
This commit is contained in:
Fan PengCheng 2020-08-06 15:09:26 +08:00 committed by fanpengcheng
parent 69e9dfa656
commit cedfb947ed
2 changed files with 1 additions and 21 deletions

20
debian/postinst vendored
View File

@ -1,20 +0,0 @@
#!/bin/sh
set -e
if [ "$1" = configure ]; then
if command -v setcap > /dev/null; then
if setcap cap_ipc_lock+eip /usr/bin/dde-dock;then
chmod u-s /usr/bin/dde-dock
else
echo "Setcap failed, falling back to setuid" >&2
chmod u+s /usr/bin/dde-dock
fi
else
echo "Setcap is not installed, falling back to setuid" >&2
chmod u+s /usr/bin/dde-dock
fi
fi
#DEBHELPER#
exit 0

View File

@ -38,7 +38,7 @@
#include "dbus/dbusdockadaptors.h"
#include <string>
#include <sys/mman.h>
//#include <sys/mman.h>
#include <stdio.h>
#include <time.h>
#include <execinfo.h>