diff options
author | Matt Wilson <msw@redhat.com> | 2000-06-14 08:03:05 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-06-14 08:03:05 +0000 |
commit | 7e6b9c75899ddb819df29d9d93cf9b6c9c156604 (patch) | |
tree | 67829614fe342d29b531905baf356c3ec5883230 /scripts/upd-instroot | |
parent | 1700d02dcffab730fd43407a40eead4a18108a2c (diff) | |
download | anaconda-7e6b9c75899ddb819df29d9d93cf9b6c9c156604.tar.gz anaconda-7e6b9c75899ddb819df29d9d93cf9b6c9c156604.tar.xz anaconda-7e6b9c75899ddb819df29d9d93cf9b6c9c156604.zip |
use new one shot option to runroot so we don't run these scripts multiple times
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-x | scripts/upd-instroot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 104b135c5..f7caeab2e 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -480,7 +480,7 @@ for p in $DEST $DESTGR; do if [ -x /usr/bin/runroot ]; then REALPATH=`(cd $p; /bin/pwd)` - runroot dist-7.0 --arch $ARCH "cd $REALPATH\; usr/lib/anaconda-runtime/scrubtree $REALPATH" + runroot dist-7.0 --onlyone --arch $ARCH "cd $REALPATH\; usr/lib/anaconda-runtime/scrubtree $REALPATH" else $p/usr/lib/anaconda-runtime/scrubtree $p fi @@ -524,7 +524,7 @@ cd - echo -n -e "Removing unused python files in hdimage... " if [ -x /usr/bin/runroot ]; then REALPATH=`(cd $DEST; /bin/pwd)` - runroot dist-7.0 --arch $ARCH "cd $REALPATH\; usr/lib/anaconda-runtime/pythondeps $REALPATH" + runroot dist-7.0 --onlyone --arch $ARCH "cd $REALPATH\; usr/lib/anaconda-runtime/pythondeps $REALPATH" else $DEST/usr/lib/anaconda-runtime/pythondeps $DEST fi |