summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_apt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_apt')
-rwxr-xr-xscripts/build/chroot_apt14
1 files changed, 4 insertions, 10 deletions
diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt
index 424d05336..2fbd58391 100755
--- a/scripts/build/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -31,11 +31,8 @@ case "${1}" in
# Checking stage file
Check_stagefile .build/chroot_apt
- # Checking lock file
- Check_lockfile .lock
-
- # Creating lock file
- Create_lockfile .lock
+ # Aquire lock file
+ Acquire_lockfile
mkdir -p chroot/etc/apt/apt.conf.d
@@ -214,11 +211,8 @@ EOF
remove)
Echo_message "Deconfiguring file /etc/apt/apt.conf"
- # Checking lock file
- Check_lockfile .lock
-
- # Creating lock file
- Create_lockfile .lock
+ # Aquire lock file
+ Acquire_lockfile
# Deconfiguring aptitude ftp proxy
rm -f chroot/etc/apt/apt.conf.d/00ftp-proxy