summaryrefslogtreecommitdiff
path: root/tools/move.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:52:42 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 16:52:42 -0400
commit9b21131e802447b99ace53d3936c19c2688da20c (patch)
tree326c38278c8fb3e1642b38ba78ab7396125ce38f /tools/move.sh
parent075426989bd00ee7af444ad991dfd01f3e5d50c5 (diff)
more
Diffstat (limited to 'tools/move.sh')
-rwxr-xr-xtools/move.sh23
1 files changed, 20 insertions, 3 deletions
diff --git a/tools/move.sh b/tools/move.sh
index be2c8cb11c..1fd8b32a56 100755
--- a/tools/move.sh
+++ b/tools/move.sh
@@ -359,6 +359,11 @@ move_files() (
mv -T "$file" "${file/.conf/.$ext}"
done
done
+ for ext in xorg; do
+ for file in $ext/*.sh*; do
+ mv -T "$file" "${file/.sh/.$ext}"
+ done
+ done
# less obvious manpage groups
mv -t src/libsystemd \
@@ -379,7 +384,8 @@ move_files() (
man/halt.xml \
man/runlevel.xml \
man/shutdown.xml \
- man/telinit.xml
+ man/telinit.xml \
+ man/systemd.preset.xml
mv -t src/systemd \
man/systemd-system.conf.xml
mkdir src/grp-system.d
@@ -467,7 +473,18 @@ move_files() (
mv -t src/grp-remote.d tmpfiles.d/systemd-remote.*
mv -T tmpfiles.d/systemd{,-journald}.tmpfiles.m4
mv -t src/systemd tmpfiles.d/systemd-tmpfs.tmpfiles*
- mv -t src/systemd xorg/??-systemd-user.sh; rmdir xorg
+ mv -t src/systemd xorg/??-systemd-user.*; rmdir xorg
+
+ mv -t src/systemd-sysv-generator \
+ docs/sysvinit/.gitignore \
+ docs/sysvinit/*
+ rmdir docs/sysvinit
+ mv -t src/grp-journal.d \
+ docs/var-log/.gitignore \
+ docs/var-log/*
+ rmdir docs/var-log
+ rm docs/.gitignore
+ rmdir docs
# auto-distribute the stuff
for d in man units sysusers.d tmpfiles.d; do
@@ -737,7 +754,7 @@ main() {
move
git add .
- git commit -m './move.sh'
+ git commit -m './tools/move.sh'
git merge -s ours notsystemd/postmove
git checkout notsystemd/postmove
git merge tmp/postmove