You've already forked fedora-toolbox
forked from davejansen/fedora-bootc
Temporarily only look at /etc/group
This commit is contained in:
@@ -15,13 +15,13 @@ cat /usr/lib/group
|
|||||||
|
|
||||||
## Handle files that rpm-ostree would normally remove
|
## Handle files that rpm-ostree would normally remove
|
||||||
## Borrowed from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33
|
## Borrowed from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33
|
||||||
if [ -f /etc/passwd ]; then
|
# if [ -f /etc/passwd ]; then
|
||||||
echo
|
# echo
|
||||||
echo Appending the following passwd users to /usr/lib/passwd
|
# echo Appending the following passwd users to /usr/lib/passwd
|
||||||
out=$(grep -v "root" /etc/passwd)
|
# out=$(grep -v "root" /etc/passwd)
|
||||||
echo "$out"
|
# echo "$out"
|
||||||
echo "$out" >>/usr/lib/passwd
|
# echo "$out" >>/usr/lib/passwd
|
||||||
fi
|
# fi
|
||||||
if [ -f /etc/group ]; then
|
if [ -f /etc/group ]; then
|
||||||
echo
|
echo
|
||||||
echo Appending the following group entries to /usr/lib/group
|
echo Appending the following group entries to /usr/lib/group
|
||||||
|
|||||||
Reference in New Issue
Block a user