예제 #1
0
	def update(self):
		SyncPkg.update(self)
		
		# yum has no 'update' command, but will fetch a new database
		# next time when it has no metadata
		
		synctool_lib.shell_command('yum -y clean headers')
		synctool_lib.shell_command('yum -y clean metadata')
예제 #2
0
	def update(self):
		SyncPkg.update(self)
		
		os.putenv('DEBIAN_FRONTEND', 'noninteractive')
		synctool_lib.shell_command('apt-get update')
예제 #3
0
	def update(self):
		SyncPkg.update(self)
		
		synctool_lib.shell_command('brew update')
예제 #4
0
    def update(self):
        SyncPkg.update(self)

        synctool_lib.shell_command("pacman -Sy --noconfirm")
예제 #5
0
	def update(self):
		SyncPkg.update(self)
		
		synctool_lib.shell_command('zypper --non-interactive refresh')
예제 #6
0
	def update(self):
		SyncPkg.update(self)
예제 #7
0
    def update(self):
        SyncPkg.update(self)

        os.putenv("DEBIAN_FRONTEND", "noninteractive")
        synctool_lib.shell_command("apt-get update")