mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
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:
parent
69e9dfa656
commit
cedfb947ed
20
debian/postinst
vendored
20
debian/postinst
vendored
@ -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
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user