added packages

This commit is contained in:
2023-04-29 00:31:15 +05:30
parent 6c0edc5379
commit cb7808a9bd
78 changed files with 5393 additions and 0 deletions

View File

@ -0,0 +1,19 @@
main() {
local _user=`echo ${SUDO_USER:-$(whoami)}`
local _gid=`echo ${SUDO_GID}`
local _group=`cat /etc/group | grep ${_gid} | cut -d: -f1 | head -1`
local _dir="/home/${_user}/.config"
local _skel='/etc/skel/.config'
mkdir -p ${_dir}
cp -rf ${_skel}/* ${_dir}
chown -R ${_user}:${_group} ${_dir}/*
}
post_install() {
main
}
post_upgrade() {
main
}