Mainly just moved configs to new CONFIG directory format
This commit is contained in:
20
SNAP/usher
20
SNAP/usher
@@ -7,26 +7,6 @@ case $1 in
|
||||
exit 0
|
||||
;;
|
||||
postinst)
|
||||
if [ ! -f ${TARGET}/etc/bashrc ]; then
|
||||
install -m 0644 ${TARGET}/usr/share/snap-base/bashrc \
|
||||
${TARGET}/etc/bashrc
|
||||
fi
|
||||
if [ ! -f ${TARGET}/etc/group ]; then
|
||||
install -m 0644 ${TARGET}/usr/share/snap-base/group \
|
||||
${TARGET}/etc/group
|
||||
fi
|
||||
if [ ! -f ${TARGET}/etc/passwd ]; then
|
||||
install -m 0644 ${TARGET}/usr/share/snap-base/passwd \
|
||||
${TARGET}/etc/passwd
|
||||
fi
|
||||
if [ ! -f ${TARGET}/etc/profile ]; then
|
||||
install -m 0644 ${TARGET}/usr/share/snap-base/profile \
|
||||
${TARGET}/etc/profile
|
||||
fi
|
||||
if [ ! -f ${TARGET}/etc/snap.conf ]; then
|
||||
install -m 0644 ${TARGET}/usr/share/snap-base/snap.conf \
|
||||
${TARGET}/etc/snap.conf
|
||||
fi
|
||||
if [ ! -f ${TARGET}/var/log/btmp ]; then
|
||||
install -v -m 600 /dev/null ${TARGET}/var/log/btmp
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user